diff options
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -453,6 +453,11 @@ void decl_const(void) vars[varid].constant = true; } +void newline_handler(void) +{ + vid_writef("\n"); +} + void inc_line_pointer(void) { ++current_line; @@ -507,7 +512,7 @@ static void (*instr_tab[0x100])(void) = { NULL, /* 0x2b */ NULL, /* 0x2c */ NULL, /* 0x2d */ - NULL, /* 0x2e */ + newline_handler, /* 0x2e */ NULL, /* 0x2f */ NULL, /* 0x30 */ NULL, /* 0x31 */ |