Page 4 of 4

New productivity upload: File based assembler

Posted: Sat Dec 11, 2021 4:19 pm
by Stefan


On 12/11/2021 at 3:15 PM, desertfish said:




oh, and one other thing, the CTRL-K cuts a line and adds it to the clipboard. But eventually it will give an error clipboard full, which is problematic if I just wanted to delete a (large) number of lines. Can we get a kill line key or alternatively some way to clear the clipboard? ❤️



Absolutely!

Just need to come up with a reasonable keyboard shortcuts, as they are running out.

It is not a great solution to start using Alt+key combinations (as Nano does), as those are already linked to graphical characters in PETSCII mode.

One possibility would be to link Ctrl+K to the cut command, and Ctrl+Shift+K to a new delete line command.

In a similar way Ctrl+C could be linked to the show cursor position command, and Ctrl+Shift+C could be used for a new command to continuously show the cursor position.

Have to think about it though.

EDIT: Always showing cursor position is now done and committed to master branch. I removed the Ctrl+C command altogether. Will continue with delete line command, probably another day.


New productivity upload: File based assembler

Posted: Tue Dec 14, 2021 12:35 am
by desertfish

The new editor has been integrated! posted a new version of the assembler.


New productivity upload: File based assembler

Posted: Fri Dec 17, 2021 8:00 pm
by desertfish

New version!  .incbin already worked to include binary data, but now .include also works!  So you can now write modularized assembly programs across multiple files.


New productivity upload: File based assembler

Posted: Fri Dec 17, 2021 10:00 pm
by Stefan

Great work @desertfish!!!

Is included code within the same scope as code in the main file? I mean, must all labels and identifiers be unique in both the main file and all included files?


New productivity upload: File based assembler

Posted: Fri Dec 17, 2021 10:43 pm
by desertfish

Yes it’s a literal textual include.

theres no scoping of labels supported yet.


New productivity upload: File based assembler

Posted: Tue May 24, 2022 6:17 pm
by desertfish

The assembler has been updated several times.