mirror of
https://github.com/nippur72/apple1-videocard-lib.git
synced 2025-08-15 06:27:30 +00:00
add print hex word function
This commit is contained in:
@@ -46,6 +46,12 @@ void woz_print_hex(byte c) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// print hex word
|
||||||
|
void woz_print_hexword(word w) {
|
||||||
|
woz_print_hex(*((byte *)&w+1));
|
||||||
|
woz_print_hex(*((byte *)&w));
|
||||||
|
}
|
||||||
|
|
||||||
// puts a character on the apple1 screen using the WOZMON routine
|
// puts a character on the apple1 screen using the WOZMON routine
|
||||||
void woz_putc(byte c) {
|
void woz_putc(byte c) {
|
||||||
asm {
|
asm {
|
||||||
|
Reference in New Issue
Block a user