1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
.ORIG x0000 ; traps .BLKW #31 .FILL t_getc .FILL t_out .FILL t_puts .FILL t_in .FILL t_putsp .FILL t_halt .BLKW #219 ; interrupts .FILL thalt .FILL thalt .BLKW #254 ; supervisor code ; TODO: implement traps and find working assembler t_getc .BLKW #1 t_out .BLKW #1 t_puts .BLKW #1 t_in .BLKW #1 t_putsp .BLKW #1 t_halt .BLKW #1 .END