This website requires JavaScript.
Explore
Mirrors
Help
Sign In
6502
/
cc65
Watch
1
Star
0
Fork
0
You've already forked cc65
mirror of
https://github.com/cc65/cc65.git
synced
2024-11-04 17:04:58 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
9d5d94196f
cc65
/
libsrc
/
cbm610
/
devnum.s
8 lines
85 B
ArmAsm
Raw
Normal View
History
Unescape
Escape
Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors. git-svn-id: svn://svn.cc65.org/cc65/trunk@4588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-14 23:12:54 +00:00
;
; Oliver Schmidt, 2010-02-14
;
Made Olivers devnum patch (r4588) work with the PET-II models. On these machines, the program runs in a separate 64K bank, and zeropage variables need to be copied from the system bank into the execution bank to read by a simple load operation. The change is currently untested! git-svn-id: svn://svn.cc65.org/cc65/trunk@4597 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-20 19:46:51 +00:00
.include
"
extzp
.
i
n
c
"
Initialize _curunit from the zeropage value DEVNUM (aka First Address) in a constructor with a very high priority to be called before DEVNUM gets overwritten by other constructors. git-svn-id: svn://svn.cc65.org/cc65/trunk@4588 b7a2c559-68d2-44c3-8de9-860c34a00d81
2010-02-14 23:12:54 +00:00
.exportzp
devnum
:
=
DEVNUM
Reference in New Issue
Copy Permalink