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:
parent
4dc6576662
commit
b4a41e7728
BIN
SANDBOX.PO
BIN
SANDBOX.PO
Binary file not shown.
@ -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)
|
||||
|
@ -57,6 +57,8 @@ INTERP = $03D0
|
||||
* = $2000
|
||||
LDX #$FE
|
||||
TXS
|
||||
LDX #$00
|
||||
STX $01FF
|
||||
;*
|
||||
;* DISCONNECT /RAM
|
||||
;*
|
||||
|
Loading…
Reference in New Issue
Block a user