From: Erich W. <ew....@on...> - 2008-03-12 19:44:07
|
Hi, not sure whether this helps: You did look at the application in amforth/appl/tv, did you? Good luck, Erich Christian Berger wrote: > 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 > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel > |