Re[3]: [cc65] library header bug correction - and some compiler hazzle

Date view Thread view Subject view

From: Christian Groessler (
Date: 2002-02-12 13:14:14


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> 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;

        v = atoi(b);
        printf("hallo welt (%X)\n", v);

Running it:

[panther:~/atari]$ echo 123 | ~/tmp/Atari800/atari800/src/atari800 -run 2> /dev/null
hallo welt (7B)


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.


To unsubscribe from the list send mail to with
the string "unsubscribe cc65" in the body(!) of the mail.

Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-02-12 13:14:37 CET