bobbimanners / EightBall

The Eight Bit Algorithmic Language for Apple II, Commodore 64 and VIC20
GNU General Public License v3.0
19 stars 3 forks source link

Compile on linux, doesn't work right on Apple II #27

Closed bobbimanners closed 6 years ago

bobbimanners commented 6 years ago

If I set the start address of the generated code to 0x5000 I should be able to compile EightBall code on Linux and run in the the VM on the Apple II. This works with some programs (sieve4.8b for example) but fails with unittest.8b. If I compile the failing chunk of the unit tests on Linux as a separate small program it still fails on the Apple II VM, so it is not memory exhaustion. If I compile the same chunk on Apple II it runs fine on Apple II VM. What else is different I wonder?

bobbimanners commented 6 years ago

Problem was RTCALLSTACKTOP was not set the same. Fixed now.