fvdhoef / aquarius-plus

Official Aquarius+ repository
MIT License
44 stars 9 forks source link

Loading a SAMPLE from within a BASIC application damages line numbers above 3000 #59

Closed 1stage closed 10 months ago

1stage commented 10 months ago

When loading the /demos/aqtheory/run-me.bas the line numbers come in fine, but once run, the line numbers above 3150 get damaged, seemingly by the LOAD SAMPLE "aquarius.saq",@60,0 in line number 2.

Before running... image

After running... image

(Ignore the lines 6-50. These were from the original AY sound commands that are now being skipped over).

1stage commented 10 months ago

In creating a second test program, it looks like the LOAD SAMPLE overwrites data at about 2080 characters (?) into the currently loaded program

1stage commented 10 months ago

plusBASIC v0.19f fixes this issue! Thank you!