Search the Community
Showing results for tags 'CC65'.
Found 7 results
-
Has anyone tried to code for the Atari 2600 in C wirh CC65? I am trying to figure pout how to code the display. I understand I need to control the raster. I am looking for a simple "Hello World" example.
-
Hi Is it possible to use CC65 to build rom images for the Atari 7800? How? It seems to me that the console is not supported out of the box by CC65. Fabrizio
-
Hi everyone, I would like to add redefined characters to my multi-system 8-bit game CROSS CHASE https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases It currently looks like this: For the ATARI XL target I would like to have both mode 1 and redefined characters. I supposed that I need to do something with the cryptic .cfg file to reserve some RAM for the characters. What do I need to do exactly? Could someone show me an example?
-
Hi! My little multi-system 8-bit game supports the Atari computers (in both mode 0 and 1) and Atari 5200 console (in mode 1). https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases How can I use the fifth color in mode 1 and do this with CC65? My game always shows only 4 colors. No matter which character code I select. I must be dowing something wrong.
-
I am trying to write an ATARI 5200 version of my cross-system 8 bit game: https://github.com/Fabrizio-Caruso/ASCII-CHASE (which already supports most 8 bit Z80 and 6502-based computers) I have managed to compile my code with CC65 for the Atari 5200 target by using conio. (I was wrongly using keyboard input on a keyboardless console...). My problem now is: - how to use the binary created by CC65? Can I use it as it is? Which extension should I use? Should I use it as a cartridge? - how to set up the emulator? Which rom? Atari800Win with the 5200 rom goes straight to the debugger when started.
-
Hi eveyone, I am using CC65 to code a game that use conio.h to display characters on the screen. It works fine in graphics mode 0 but I get weird results with other text modes. (I am compiling with cl65.exe -O -t atarixl --start-addr 0x4000 ... to get enough memory). I would like to use any other text mode that adds support for colors like graphics mode 12. (I would use re-defined characters but this is not my issue). My goal is to have a text mode with at least 4 colors and to know how to draw characters and set their colors with CC65. (1) If I set graphics mode 12 I get the lower four lines in monochromatic mode. Is it normal? I thought it was a BASIC thing. How can I get read of them? (2) The conio library seems not to behave correctly when used with any graphics mode other than 0. How to I set colors? Where can I find any simple example? Fabrizio
- 10 replies
-
- Atari 800
- Atari 800XL
-
(and 2 more)
Tagged with:
-
Hello everybody, am trying to figure out the best way to do SDX system calls from C via cc65? For example, there is a routine that can be called to get the current date and time: void timedate(TimeDate* td) { struct regs r; assert(td!=NULL); r.pc = 0x703; // KERNEL r.y = 100; // GETTD *(byte*) 0x0761 = 0x10; // DEVICE _sys(&r); // Do Kernel Call. td->day = *(byte*) 0x77B; td->month = *(byte*) 0x77C; td->year = *(byte*) 0x77D; td->hours = *(byte*) 0x77E; td->minutes = *(byte*) 0x77F; td->seconds = *(byte*) 0x780; return; } Is it possible to use a similar mechanism to get access to the other SpartaDOS X functions? For example, I need to be able to set errno, when one module of my program goes byebye, so that I can call the next program module to load (and to cut down on footprint. I do not want to write a whole overlay system when I can use the OS to do it reliably). What I _want_ to do is have an overreaching TSR program (which I'd LIKE to be able to write in C), which will provide serial routines that I can call (open, close, read, write) from the other system modules (LOGIN.COM, BULLETIN, MSGBOARD, FILBOARD, BYE, etc.) and thus not only keep the memory footprint down, but to maximize modularity/flexibility. -Thom
- 5 replies
-
- SpartaDOS X
- System Calls
-
(and 1 more)
Tagged with:
