From: Christian B. <cas...@ca...> - 2008-03-12 12:43:26
|
Servus, (=bavarian for hello and goodbye) I am trying to add video-terminal code to amforth, and currently it only kinda works. I can enter text and it gets displayed, but whenever I press the enter key it mostly crashes. I suspect that my software and amforth use the same memory areas. I am currently using a code like this to allocate space on the heap: .dseg .org heap keyboard_buffer: .byte 1 keyboard_shift: .byte 1 .set heap = heap + 2 .cseg I am not sure if this is correct, but if it is I will also check if I'm not messing with registers in a way I shouldn't. Servus Casandro |