Matthew Orlando
Matthew Orlando
This adds both a DIP and IC version of the 74193 binary up/down counter
We use integer "cents" throughout our systems rather than fractional numbers. Most currency/decimal data types offer the option to convert to either type of value, so this patch adds the...
The following fails to compile ([live example](https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,selection:(endColumn:1,endLineNumber:10,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:10,startColumn:1,startLineNumber:1),source:'struct+Foo+%7B%0A++++int+x%3B%0A%7D%3B%0A%0A//+works%0A__zeropage+Foo+bar%7B0%7D%3B%0A%0A//+fails%0A__zeropage+Foo+foo%3B%0A'),l:'5',n:'0',o:'C%2B%2B+source+%231',t:'0')),k:33.333333333333336,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:mos-nes-mmc3-trunk,deviceViewOpen:'1',filters:(b:'0',binary:'1',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'0',directives:'0',execute:'1',intel:'0',libraryCode:'0',trim:'1'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,libs:!(),options:'-Os+-std%3Dc%2B%2B23',overrides:!(),selection:(endColumn:1,endLineNumber:1,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:1),l:'5',n:'0',o:'+llvm-mos+nes-mmc3+(Editor+%231)',t:'0')),k:33.333333333333336,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:output,i:(compilerName:'llvm-mos+nes-mmc3',editorid:1,fontScale:14,fontUsePx:'0',j:1,wrap:'1'),l:'5',n:'0',o:'Output+of+llvm-mos+nes-mmc3+(Compiler+%231)',t:'0')),k:33.33333333333333,l:'4',n:'0',o:'',s:0,t:'0')),l:'2',n:'0',o:'',t:'0')),version:4)): ```c++ struct Foo { int x; }; // works __zeropage Foo bar{0}; // fails __zeropage Foo foo; ``` ```text :9:16: error: no matching...
The following code fails to compile. Maybe zeropage pointers should decay into void pointer? Or maybe the compiler can do something special for things like memset? ([live example](https://godbolt.org/#g:!((g:!((g:!((h:codeEditor,i:(filename:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,selection:(endColumn:1,endLineNumber:8,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:8,startColumn:1,startLineNumber:1),source:'%23include+%3Cstring.h%3E%0A%0Achar+__zeropage+intthing%5B10%5D%3B%0A%0Avoid+foo()+%7B%0A++++memset(intthing,+42,+10)%3B%0A%7D%0A'),l:'5',n:'0',o:'C%2B%2B+source+%231',t:'0')),k:33.333333333333336,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:compiler,i:(compiler:mos-nes-mmc3-trunk,deviceViewOpen:'1',filters:(b:'0',binary:'1',binaryObject:'1',commentOnly:'0',debugCalls:'1',demangle:'0',directives:'0',execute:'1',intel:'0',libraryCode:'0',trim:'1'),flagsViewOpen:'1',fontScale:14,fontUsePx:'0',j:1,lang:c%2B%2B,libs:!(),options:'-Os+-std%3Dc%2B%2B23',overrides:!(),selection:(endColumn:1,endLineNumber:1,positionColumn:1,positionLineNumber:1,selectionStartColumn:1,selectionStartLineNumber:1,startColumn:1,startLineNumber:1),source:1),l:'5',n:'0',o:'+llvm-mos+nes-mmc3+(Editor+%231)',t:'0')),k:33.333333333333336,l:'4',n:'0',o:'',s:0,t:'0'),(g:!((h:output,i:(compilerName:'llvm-mos+nes-mmc3',editorid:1,fontScale:14,fontUsePx:'0',j:1,wrap:'0'),l:'5',n:'0',o:'Output+of+llvm-mos+nes-mmc3+(Compiler+%231)',t:'0')),k:33.33333333333333,l:'4',n:'0',o:'',s:0,t:'0')),l:'2',n:'0',o:'',t:'0')),version:4)) ```c++ #include...
I've run into a few stumbling blocks attempting to switch from `[[gnu::section(".zp...")]]` to `__zeropage` in a C++ project. Here's a [relevant discord discussion](https://discord.com/channels/1058149494107148399/1058149494107148402/1158067725772541984) C++ relies heavily on pointer semantics (`this`...
It seems odd to me that the initial UI in the project template is duplicated for android and iOS rather than showing off the cross-platform nature of React Native. I...
**Describe the bug** When I open a text file with CRLF endings, as soon as I use vsvim commands to create a new line (e.g. `o`), Visual Studio tells me...