From fd166fe491029182e360bb97fe4bad9a07c6fe25 Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 10 Jul 2021 22:40:57 +0200 Subject: Reverted C traps back in --- init.asm | 28 +++++----------------------- 1 file changed, 5 insertions(+), 23 deletions(-) (limited to 'init.asm') diff --git a/init.asm b/init.asm index 489722c..cdece4a 100644 --- a/init.asm +++ b/init.asm @@ -1,28 +1,10 @@ .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 + .BLKW #256 ; interrupts - .FILL thalt - .FILL thalt + .FILL _halt + .FILL _halt .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 +; supervisor code +_halt HALT .END -- cgit v1.1