added hex printing to MEGA65 build API

This commit is contained in:
FeralChild64 committed 2020-11-30 18:48:08 +01:00
1 parent 94d0d2176f
commit 440f2bc99d
2 files changed
+12 -1

No files matched your search

+2 -1
View File
@@ -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 |
+10
View File
@@ -0,0 +1,10 @@
;; #LAYOUT# M65 KERNAL_0 #TAKE
;; #LAYOUT# * * #IGNORE
; Prints value from .A in hex
JPRHEX:
jmp print_hex_byte