Error on build (macOS only?)
We are now a little out of the scope of this ticket, but I just tried that and preprocessor can be used sdcpp -P kernel.a51 -o kernel.asm but it struggles with assembly code comments. It only gave me warnings, but I see potential for unexpected effects with some comments that could catch the unwary. (The -P is needed so sdcpp does spit # xxx lines in to the output)
We are now a little out of the scope of this ticket, but I just tried that and preprocessor can be used sdcpp -P kernel.a51 -o kernel.asm but it struggles with assembly code comments. It only gave me warnings, but I see potential for unexpected effects with cerain comments that could catch the unwary. (The -P is needed so sdcpp does spit # xxx lines in to the output)
We are now a little out of the scope of this ticket, but I just tried that and preprocessor can be used sdcpp -P kernel.a51 -o kernel.asm but it struggles with assembly code comments. It only gave me warnings, but I see potential for unexpected effects with cerain comments that could catch the unwary. (The -P is needed so sdcpp does spit # xxx lines in to the output)
Is there a work around for this - another way to check if a symbol is defined, or not? For example, whether a SFR exists (a global symbol defined in another module)? I'd like to set an SFR but only if the symbol exists (I have two targets where the same address is used for two different SFRs. I tried .ifdef but have the same error as described.
The disk editor project is abandoned
All the command line applications now use a common command line input (cli) parser module
I'm finding that running a program in the simulator s51 (0.6-pre54) hogs most of my CPU time on macOS Is this expected? Out put from top: PID COMMAND %CPU TIME #TH #WQ #PORT MEM PURG CMPRS PGRP 54887 s51 99.5 00:56.56 1/1 0 10 8404K 0B 0B 54886 s51 stated as follows: $ s51 \ -t c52 \ -s /dev/ttys003 \ -X 24500000 \ -p " simulator>" \ prog.hex Then prog started with the 'run' command