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 |
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 > |
From: Christian B. <cas...@ca...> - 2008-03-12 21:25:40
|
Am Mittwoch 12 März 2008 20:43:16 schrieb Erich Waelde: > Hi, > > not sure whether this helps: You did look at the application > in amforth/appl/tv, did you? No, but that sounds interresting. What is it and where do I find it? I don't have an appl directory. I found the bug now, insteadt of writing .set heap=heap+XSize*YSize+... I wrote .set heap=XSize+YSize+... I am now almoust done, BTW. The only thing missing is shift on the keyboard. > Good luck, > Erich Thank you Christian Berger |
From: Erich W. <ew....@on...> - 2008-03-13 19:14:10
|
Hello, Christian Berger wrote: > Am Mittwoch 12 März 2008 20:43:16 schrieb Erich Waelde: > > not sure whether this helps: You did look at the application > > in amforth/appl/tv, did you? > > No, but that sounds interresting. What is it and where do I find it? I don't > have an appl directory. You need to look at the svn sources directly: http://amforth.svn.sourceforge.net/viewvc/amforth/appl/tv/ Cheers, Erich |
From: Christian B. <cas...@ca...> - 2008-03-13 20:11:43
|
Am Donnerstag 13 März 2008 20:57:57 schrieb Matthias Trute: > Erich Waelde wrote: > > Hello, > > > > Christian Berger wrote: > >> Am Mittwoch 12 März 2008 20:43:16 schrieb Erich Waelde: > >>> not sure whether this helps: You did look at the application > >>> in amforth/appl/tv, did you? > >> > >> No, but that sounds interresting. What is it and where do I find it? I > >> don't have an appl directory. > > > > You need to look at the svn sources directly: > > http://amforth.svn.sourceforge.net/viewvc/amforth/appl/tv/ > > I'm sorry to tell, that the link does not work any more... Ohh I was able to get it from therw. It seems like you did preety much what I did. I think from what I have seen the only point where I could claim my code to be better is in the vsync area, but that's largely irrelevant. Ohh and my clock doesn't need an additional quartz. Anyhow, are you interrested in getting some FM-Synthesis sound routines for your application? Servus Casandro |
From: Matthias T. <mt...@we...> - 2008-03-13 20:24:29
|
Christian Berger wrote: > Ohh I was able to get it from therw. It seems like you did preety much what I > did. I think from what I have seen the only point where I could claim my code > to be better is in the vsync area, but that's largely irrelevant. Ohh and my > clock doesn't need an additional quartz. > > Anyhow, are you interrested in getting some FM-Synthesis sound routines for > your application? I'm collecting everything and publish all I'm allowed to do. But the TV application is not mine. Bye Matthias |
From: Matthias T. <mt...@we...> - 2008-03-13 19:57:55
|
Erich Waelde wrote: > Hello, > > Christian Berger wrote: >> Am Mittwoch 12 März 2008 20:43:16 schrieb Erich Waelde: >>> not sure whether this helps: You did look at the application >>> in amforth/appl/tv, did you? >> No, but that sounds interresting. What is it and where do I find it? I don't >> have an appl directory. > > You need to look at the svn sources directly: > http://amforth.svn.sourceforge.net/viewvc/amforth/appl/tv/ I'm sorry to tell, that the link does not work any more... The reason is simple: a reorganization of the repository structure. It is not yet fully finished but I think it won't change a lot again, since I use the new structure internally for quite some time. The only thing thats left is around applications that I cannot work with, like the tv application. The actual link for them is http://amforth.svn.sourceforge.net/viewvc/amforth/applications/ All new code is now in trunk, regardless of core or library or (my) applications. Matthias |