1
0
mirror of https://github.com/dschmenk/PLASMA.git synced 2024-11-08 06:09:15 +00:00

Fix writing to byte variables in sandbox. Init initial plvm02 autorun

string.
This commit is contained in:
David Schmenk 2014-12-08 13:32:32 -08:00
parent 4dc6576662
commit b4a41e7728
3 changed files with 4 additions and 2 deletions

Binary file not shown.

View File

@ -3605,13 +3605,13 @@ def parse_stmnt
if token == SET_TKN
if !parse_expr; return parse_err(@bad_expr); fin
if type & LOCAL_TYPE
if elem_type == BYTE_TYPE
if elem_type & BYTE_TYPE
emit_slb(addr + elem_offset)
else
emit_slw(addr + elem_offset)
fin
else
if elem_type == BYTE_TYPE
if elem_type & BYTE_TYPE
emit_sab(addr, elem_offset)
else
emit_saw(addr, elem_offset)

View File

@ -57,6 +57,8 @@ INTERP = $03D0
* = $2000
LDX #$FE
TXS
LDX #$00
STX $01FF
;*
;* DISCONNECT /RAM
;*