Commit Graph

10 Commits

Author SHA1 Message Date
Bobbi Webber-Manners
dc5ebf741c
v0.59: Added support for char literals 2018-05-03 10:18:17 -04:00
Bobbi Webber-Manners
ed032c11ea
v0.58: Allow constant exprs for array dimensions 2018-05-03 01:12:21 -04:00
Bobbi Webber-Manners
7a91e0c0fb
v0.57: Added mode statement for Apple II 2018-05-02 20:27:27 -04:00
Bobbi Webber-Manners
c026602f62
v0.56: Various minor improvements
- Improved Makefile to make it easier to configure paths to tools
- Made number of signicant characters for subroutine and variable names a `#define` constant and tested it works with different values
- Modified memory allocation in `HEAP2` - the source code is now allocated at the bottom, growing up.  The compiler's linkage table is allocated at the top growing down.  This makes it easy to dispose of the linkage table after compilation is done.
- This revealed that my memory limits were wrong so code was crashing on C64, Apple II.  I bumped up the bottom of `HEAP2` by 0x500 or so.  Not sure why this is needed.
- Added a signon banner to the virtual machine so it is clear it is loading bytecode.  Screen is cleared after loading is complete, so user knows when execution begins.
2018-05-02 17:41:42 -04:00
Bobbi Webber-Manners
085800a743
v0.55: Minor tweaks
- Adjusted memory limits.  Found a few extra bytes for source code buffer on Apple II.
- Compiler: Changed multiply by two to left shift in indexing math for array of word.  More efficient.
2018-05-01 10:46:54 -04:00
Bobbi Webber-Manners
fc6583d82d
v0.54: Fixed end of line character on C64, VIC20
End of line on CBM is 13, not 10.
Converted sieve4.8b and unittest,8b to PETSCII and added them to test.d64
Unit tests run on C64 with only one failure (same failure as when running under Linux VM).
2018-04-30 22:39:34 -04:00
Bobbi Webber-Manners
d51db8fa03
v0.53 minor fixes
- Fixed bug in compiled code when flow of control hits endsub.
- Removed debug printout from emitldi(). Too much bloat!
2018-04-30 18:26:04 -04:00
Bobbi Webber-Manners
cdbfeafda9
v0.52. Fix memory corruption bug.
This fixes a memory corruption bug that occurred when compiling code with subroutines.  The symbol table was corrupting the source code.  This was showing up on 6502 systems only (seemed okay on Linux).
2018-04-28 14:00:56 -04:00
Bobbi Webber-Manners
9550257613
v0.51 fixes memory limits for VIC20, C64, Apple2 2018-04-28 11:58:13 -04:00
Bobbi Webber-Manners
11f99c9840
EightBall v0.5 - With Compile and Virtual Machine 2018-04-27 23:47:22 -04:00