mirror of
https://github.com/catseye/SixtyPical.git
synced 2025-01-25 23:31:42 +00:00
Small bugfixes and changes.
This commit is contained in:
parent
994449ecb0
commit
689670a69e
@ -1,7 +1,7 @@
|
|||||||
SixtyPical
|
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
|
**SixtyPical** is a 6502-assembly-like programming language with advanced
|
||||||
static analysis.
|
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)
|
![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
|
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
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
@ -12,16 +12,17 @@ byte vic_border @ 53280
|
|||||||
// a future version of SixtyPical.
|
// a future version of SixtyPical.
|
||||||
//
|
//
|
||||||
|
|
||||||
vector cinv
|
vector routine
|
||||||
inputs vic_border
|
inputs vic_border
|
||||||
outputs vic_border
|
outputs vic_border
|
||||||
trashes z, n
|
trashes z, n
|
||||||
@ 788
|
cinv @ 788
|
||||||
|
|
||||||
vector save_cinv
|
vector routine
|
||||||
inputs vic_border
|
inputs vic_border
|
||||||
outputs vic_border
|
outputs vic_border
|
||||||
trashes z, n
|
trashes z, n
|
||||||
|
save_cinv
|
||||||
|
|
||||||
routine our_cinv
|
routine our_cinv
|
||||||
inputs vic_border
|
inputs vic_border
|
||||||
|
@ -62,7 +62,7 @@ class Scanner(object):
|
|||||||
if self.token == token:
|
if self.token == token:
|
||||||
self.scan()
|
self.scan()
|
||||||
else:
|
else:
|
||||||
raise SixtyPicalSyntaxError(self.scanner.line_number, "Expected '{}', but found '{}'".format(
|
raise SixtyPicalSyntaxError(self.line_number, "Expected '{}', but found '{}'".format(
|
||||||
token, self.token
|
token, self.token
|
||||||
))
|
))
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ class Scanner(object):
|
|||||||
|
|
||||||
def check_type(self, type):
|
def check_type(self, type):
|
||||||
if not self.type == 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
|
self.type, self.token
|
||||||
))
|
))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user