Starting to remove the lit counter

This commit is contained in:
neauoire 2021-04-04 09:17:30 -07:00
parent e791dbd640
commit 18a48a28c5
2 changed files with 9 additions and 7 deletions

View File

@ -115,13 +115,13 @@ main(int argc, char **argv)
if(!loaduxn(&u, argv[1]))
return error("Load", "Failed");
portuxn(&u, "console", console_poke);
portuxn(&u, "empty", ppnil);
portuxn(&u, "empty", ppnil);
portuxn(&u, "empty", ppnil);
portuxn(&u, "empty", ppnil);
portuxn(&u, "empty", ppnil);
portuxn(&u, "file", file_poke);
portuxn(&u, 0x00, "console", console_poke);
portuxn(&u, 0x01, "empty", ppnil);
portuxn(&u, 0x02, "empty", ppnil);
portuxn(&u, 0x03, "empty", ppnil);
portuxn(&u, 0x04, "empty", ppnil);
portuxn(&u, 0x05, "empty", ppnil);
portuxn(&u, 0x06, "file", file_poke);
start(&u);
return 0;

View File

@ -17,6 +17,8 @@ typedef unsigned short Uint16;
typedef signed short Sint16;
#define FLAG_HALT 0x01
#define FLAG_LIT1 0x04
#define FLAG_LIT2 0x08
#define PAGE_DEVICE 0x0100
#define PAGE_VECTORS 0x0200