Search found 82 matches

by Linzino
Fri Sep 15, 2017 8:34 am
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 10871

Re: WIP: CROSS CHASE

CROSS CHASE grows A LOT with lots of new targets including some initial prototypes for 8 bit consoles. Now I provide 40 (FORTY) different versions including two Vic 20 versions (for +8k and +16k memory expansions). 1. MSX is now fully playable (but no sound and no fancy graphics, yet). 2. CPC is pla...
by Linzino
Tue Aug 22, 2017 5:28 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

The goal of my personal project is to write a little fun game for nearly all 8 bit computers (+ TI/994a which technically is 16 bit) Whatever makefile solution I decide to use, should work with CC65 (6502), SDCC (Z80), ZSDCC (Z80), SCCZ80 (Z80) and CMOC (6809), GCC for TI (TMS9900), C99C (TMS9900). ...
by Linzino
Tue Aug 22, 2017 4:03 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

Thanks a lot! I am trying to understand more now how the CFG works. I did not know that one should use pragmas to specify the segment. I thought it was done automatically by the linker. So, I need to figure out which part of the code should go to which segment. I guess I can do this by looking at th...
by Linzino
Tue Aug 22, 2017 2:51 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

Maybe you have forgotten RAM1 in the cfg.
I am trying to guess...

Your small program will fit in the memory section before the caracter memory but
my game won't fit in that tiny RAM.
by Linzino
Tue Aug 22, 2017 2:35 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

Thanks! I will have to figure out how to use it with my code... Do I need to compile the object files one at a time and link them at the end? I am getting tons of errors if I run my usual (very long) command line C:\Retro\DEV\cc65-snapshot-win32\bin>cl65.exe -O -t vic20 -DVIC20_SOUNDS --config "...
by Linzino
Tue Aug 22, 2017 12:46 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

Thanks a lot! I manage to fix the path! It does work indeed. It is kind of magic for me, though. It produces a .prg file that I can load with Vice. I wonder if and what I need to change in your cfg for my project. With the current CC65 your CFG produces various errors. I don't know what is wrong. I ...
by Linzino
Tue Aug 22, 2017 12:25 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

Your file includes the entire CC65 kit. Are you using a modified or outdated version of CC65? What did you need to modify? It fails at the linker command. I am trying to fix it. " The system cannot find the path specified. " Even if I manage to run your code, will I be able to have my cros...
by Linzino
Tue Aug 22, 2017 11:15 am
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

Your CFG seems invalid or maybe something else is required. If I use your CFG file as is: I get errors with the __STACK__ Attribute expected, got '__STACKSIZE__ If I fix it, then I get errors about ZPSAVE being inexistent. If I remove ZPSAVE Segment `UDCCHAR' overflows memory area `CHAR' by 1024 byt...
by Linzino
Tue Aug 22, 2017 9:08 am
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

The standard CFG files that come with CC^% would create a 1 or 2 line BASIC program that simply runs the program. Standard CFG: ... MEMORY { ... HEADER: file = %O, start = $1201, size = $000C; ... SEGMENTS { ... EXEHDR: load = HEADER, type = ro; ... So that loading the game program would auto-start ...
by Linzino
Tue Aug 22, 2017 5:58 am
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

Does your config create the BASIC loader?

If not, what should I do to have both redefined characters and the BASIC loader?
by Linzino
Mon Aug 21, 2017 4:24 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

Re: How to use redefined characters in CC65

THANKS!!

This will help me get the Vic 20 version of CROSS CHASE to get redefined characters!
by Linzino
Mon Aug 21, 2017 2:58 pm
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 10871

Re: WIP: CROSS CHASE

Yes, this exactly the reason why the Vic 20 version of my game does not have redefined characters, yet.

I do not know how to tell CC65 linker to move my code above the screen memory. The linker is not very intuitive.

Has anyone managed to implement redefined characters with CC65?
Any examples?
by Linzino
Mon Aug 21, 2017 2:55 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19651

How to use redefined characters in CC65

Hi everyone, I need help for my cross-system game CROSS CHASE, which is written in ANSI C and compiled with CC65. It supports most 8-bit computers including the Vic 20 (not all of them yey) For the Vic 20 I have not been able to implement redefined characters. One main problem is to understand how t...
by Linzino
Mon Aug 21, 2017 12:57 pm
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 10871

Re: WIP: CROSS CHASE

I have added some images. The Vic 20 versions lacks redefined characters. I need to implement them. Any help is welcome! https://2.bp.blogspot.com/-6TMT46BnbqQ/WZssopvhZYI/AAAAAAAAAKA/gxI35abnVWIRcZlQFmPBToHVSRg6L7SpgCLcBGAs/s1600/Vic20.jpg https://3.bp.blogspot.com/-B2xqycQ7jRc/WZsqCXP1kPI/AAAAAAAA...
by Linzino
Mon Aug 21, 2017 6:17 am
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 10871

WIP: CROSS CHASE

I have release a new version of my open source multi-system 8-bit game CROSS CHASE which supports most 8-bit computers (all 8-bit Commodore computers, all Atari 8 bit computers, ZX Spectrum, all Apple][ computers, Oric 1/Atmos, etc.) including the Vic 20 for which you can get - the minimal version r...