mhaupt / basicode

a BASICODE interpreter written in Java
MIT License
2 stars 1 forks source link

pass BC3 compatibility test #19

Open mhaupt opened 8 months ago

mhaupt commented 8 months ago

Jaques Haubrich and Jochem Herrmann wrote a BASICODE-3 test in 1988. I cannot currently point to the source code. Making BASICODE pass this test involves some fixes around keyboard handling, printing, drawing, etc. This is all in the bc3-test branch.

mhaupt commented 8 months ago

Some tests keep failing even after this work is done. Here's why. (They will be documented in comments here.)

"SR 270 berechnet nicht den Stringraum" ("subroutine 270 does not compute string space"): the test expects memory to be less after allocating a long string. Since memory management is entirely the JVM's job in this BASICODE implementation, we cannot honour the expectation of memory being utterly limited.