diff --git a/STATUS.md b/STATUS.md index a8e6603a..c0f6d372 100644 --- a/STATUS.md +++ b/STATUS.md @@ -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!
| 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 | diff --git a/src/kernal/jumptable_m65/jprhex.s b/src/kernal/jumptable_m65/jprhex.s new file mode 100644 index 00000000..b0a9162f --- /dev/null +++ b/src/kernal/jumptable_m65/jprhex.s @@ -0,0 +1,10 @@ +;; #LAYOUT# M65 KERNAL_0 #TAKE +;; #LAYOUT# * * #IGNORE + + +; Prints value from .A in hex + + +JPRHEX: + + jmp print_hex_byte