1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-11-04 07:06:23 +00:00

Small bugfixes and changes.

This commit is contained in:
Chris Pressey 2018-03-13 09:25:06 +00:00
parent 994449ecb0
commit 689670a69e
4 changed files with 8 additions and 7 deletions

View File

@ -1,7 +1,7 @@
SixtyPical
==========
_Version 0.13. Work-in-progress, everything is subject to change._
_Version 0.14. Work-in-progress, everything is subject to change._
**SixtyPical** is a 6502-assembly-like programming language with advanced
static analysis.
@ -51,7 +51,7 @@ automatically start it in the `x64` emulator, and you should see:
![Screenshot of result of running hearts.60p](https://raw.github.com/catseye/SixtyPical/master/images/hearts.png)
You can try the `loadngo.sh` script on other sources in the `eg` directory
tree. There is an entire small game(-like program) in [demo-game.60p](eg/c64/demo-game.60p).
tree. There is an entire small game(-like program) in [demo-game.60p](eg/c64/demo-game/demo-game.60p).
Documentation
-------------

View File

@ -12,16 +12,17 @@ byte vic_border @ 53280
// a future version of SixtyPical.
//
vector cinv
vector routine
inputs vic_border
outputs vic_border
trashes z, n
@ 788
cinv @ 788
vector save_cinv
vector routine
inputs vic_border
outputs vic_border
trashes z, n
save_cinv
routine our_cinv
inputs vic_border

View File

@ -62,7 +62,7 @@ class Scanner(object):
if self.token == token:
self.scan()
else:
raise SixtyPicalSyntaxError(self.scanner.line_number, "Expected '{}', but found '{}'".format(
raise SixtyPicalSyntaxError(self.line_number, "Expected '{}', but found '{}'".format(
token, self.token
))
@ -74,7 +74,7 @@ class Scanner(object):
def check_type(self, type):
if not self.type == type:
raise SixtyPicalSyntaxError(self.scanner.line_number, "Expected {}, but found '{}'".format(
raise SixtyPicalSyntaxError(self.line_number, "Expected {}, but found '{}'".format(
self.type, self.token
))