Matthew-McRaven / Pepp

The next generation of Pep series simulators
https://compsys-pep.com
GNU General Public License v3.0
4 stars 0 forks source link

More permissive object code loader #445

Open Matthew-McRaven opened 4 months ago

Matthew-McRaven commented 4 months ago

See: https://github.com/StanWarford/pep9suite/issues/120

Pep/10 OS's loader will ignore all whitespace. We get an EoF from DiskIn, so we will just read octets until we reach the end of the input or ZZ. It would also be ideal if the loader ignores cases.

I guess that this will add <120B of code to the loader.

Matthew-McRaven commented 4 months ago

My ongoing work seems to have issues with the ldGetDI reading an incorrect number of characters.

The Pep/10 OS is the most complex piece of assembly code in the project. There are current no debugging tools for Pep/10 other than inserting printfs and breakpoints in the CPU implementation. These debugging tools are not efficient for targeted debugging of a broken loop like ldGetDI.

I could write some code to output traces to the terminal. Alternatively, I can write the GUI components necessary to debug the OS.

I am opting to write the GUI components as this makes progress towards our MVP. I will revisit this issue when I have sufficient graphical progress.

Specifically hinges on #396.