From: Christian Groessler (cpg_at_aladdin.de)
Date: 2002-02-12 13:14:14
Hello, On 02/12/2002 11:33:55 AM CET groepaz wrote: > >CG> On 02/12/2002 12:08:52 AM CET groepaz wrote: >>> >>>however, i also thought about knocking up a very very simple >>>c64-emulator-alike-thing which would be basically a cpu-core plus >>>memory emulation (just ram/rom, no i/o) so it can run programs that >>>dont depend on the hardware (like the testsuite). i/o could be done via simple >>>kernal traps ($ffd2 etc) so that in the end we'll end up with a tool >>>that can actually run the testsuite in a 6510-environment on the pc, >>>and REDIRECT OUTPUT TO A FILE :o) wouldnt THAT be very useful to >>>automize testing? hehe :) just gimme some weeks, it shouldnt be to >>>hard to do anyway..... > >CG> You should be able to do this with the Atari800 emulator (see >CG> http://atari800.sourceforge.net). >CG> It's Atari based, not C64 based, though :-) > >mmmmh good idea..... gotta look at this one..... any clues if theres a >precompiled "textmode" version around somewhere so i can quickly check >if it can do what i want? I don't know. For which host would you need it? I did a quick test with the following program (hh.c): ------------ #include <stdio.h> int main(void) { char b[20]; int v; gets(b); v = atoi(b); printf("hallo welt (%X)\n", v); } ------------ Running it: ------------ [panther:~/atari]$ echo 123 | ~/tmp/Atari800/atari800/src/atari800 -run hh.com 2> /dev/null hallo welt (7B) READY [panther:~/atari]$ ------------ It can get input from stdin and writes output to stdout. The "READY" comes from the builtin basic which apparently gets chained to after the run program exits. regards, chris ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-02-12 13:14:37 CET