added hex printing to MEGA65 build API
This commit is contained in:
1 parent
94d0d2176f
commit
440f2bc99d
2 files changed
+12
-1
No files matched your search
@@ -400,12 +400,13 @@ Not all of them - only these we want to have implemented.
|
||||
|
||||
### API extensions - MEGA65 build
|
||||
|
||||
Not all of them - only these we want to have implemented. Note: this is likely to change in the future!
|
||||
Note: this is likely to change in the future, possibly in an incompatible way!
|
||||
|
||||
<br />
|
||||
|
||||
| Address | Name | Status | Remarks |
|
||||
| :-------: | :------- | :------: | :--------------------------------------------------------------------: |
|
||||
| ? | PRHEX | DONE | print hex value from .A |
|
||||
| `$FF7D` | PRIMM | DONE | print immediate, address compatible with C128 and C65 ROMs |
|
||||
| `$FFF8` | | DONE | reset vector for usage within hypervisor, starts in legacy mode |
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
;; #LAYOUT# M65 KERNAL_0 #TAKE
|
||||
;; #LAYOUT# * * #IGNORE
|
||||
|
||||
|
||||
; Prints value from .A in hex
|
||||
|
||||
|
||||
JPRHEX:
|
||||
|
||||
jmp print_hex_byte
|
||||
Reference in new issue
Block a user