-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
missing tools/assembler/bin\assembler.dart #18
Comments
Thanks for pointing this out! I have fixed and added the file. If you manage to get a working version for the Mac that would be great, I don't have one around to test. |
@nicolacimmino thanks - looks like I managed to get a working build on my Mac, but after further review of the tools/assembler/README.md, I noticed it mentions an assembler-cc65 option, and links to that folder ... but that folder is also not supplied in the repo. To test the Mac build of the assembler, I assembled the tools/simulator/examples/test_program_a.asm with it ... the resulting binary I got was 256B in size, compared to the original 13B bin that was in the folder (I also had to add the .board directive to the top - perhaps the assembler should assume the My newly compiled test_program_a.bin, at 256B, also appears to have set all the zeros to Not sure if this is due to changes in the assembler, made after the test_program_a.bin was last compiled for the simulator? |
@zoul0813 zoul0813 Thanks for pointing that out! The CC65 stuff was moved to another repo to avoid generting too much confusion, I have fixed the read.me link to point to that repo instead of the old folder. Regarding the binaries that's exactly what the current bootloader expects: 256-byte files padded with 0x0F (which is a NOPF, so no side effects if you forget a JMP 0 at the end of your program). I like to have the board directive mandatory so that it's always clear for what board to build, true that at the moment there is only the nano, but I have plans to develop others. |
It looks like
[Bb]in/
is in the.gitignore
, and thetools/assembler/bin\assembler.dart
file referenced inbuild_releases.cmd
is not available.I'm attempting to make a MacOS build, but can not generate the assembler due to the missing assembler.dart
Admittedly, I'm not very familiar with Dart, and could be doing something wrong...
I've duplicated all the
.cmd
files, and converted them into MacOS friendly.sh
files (and can provide this as a PR once I get it working - with linux compatibility included)The text was updated successfully, but these errors were encountered: