mirror of
https://codeberg.org/hkzlab/TK2048.git
synced 2026-01-08 11:09:19 +11:00
Import empty project
This commit is contained in:
parent
dddb278e87
commit
384d9b3fd1
15 changed files with 496 additions and 0 deletions
19
src/monitor_subroutines.c
Normal file
19
src/monitor_subroutines.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "monitor_subroutines.h"
|
||||
|
||||
void sbrt_prntax(uint8_t msb, uint8_t lsb) {
|
||||
__asm(
|
||||
" jsr 0xF941\n"
|
||||
:
|
||||
: "Ka" (msb), "Kx" (lsb)
|
||||
:
|
||||
);
|
||||
}
|
||||
|
||||
void sbrt_prbl2(uint8_t count) {
|
||||
__asm(
|
||||
" jsr 0xF94A\n"
|
||||
:
|
||||
: "Kx" (count)
|
||||
:
|
||||
);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue