Search found 82 matches

by Linzino
Thu Feb 15, 2018 3:39 am
Forum: Emulation and Cross Development
Topic: c++
Replies: 8
Views: 6914

Re: c++

Hi Why would one use C++ to generate 6502 code other than as a proof of concept? ANSI C allows object-oriented programming in a more efficient way (though, slightly less elegant), through: - composition + pointer to structs -> inheritance - pointer to functions -> virtual methods (sub-type polymorph...
by Linzino
Wed Feb 07, 2018 6:51 am
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 11091

Re: WIP: CROSS CHASE

@Kweepa, Indeed it is a unique project at least in terms of sheer number of supported systems. The idea is not to just make a massively multi-platform game, but to write some sort of simpe 8-bit framework for all computer/console/handhelds from the 8-bit era. I am also trying to make the game as fun...
by Linzino
Fri Jan 26, 2018 4:13 am
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 11091

Re: WIP: CROSS CHASE

I have now managed to get graphics, (minimal) sound an joystick support into the +3k version of my game! I have also managed to create a minimalistic version for the unexpanded Vic 20. Remark: My game now supports about 70 different 8 bit systems (with any 8-bit CPU from the '80s: 6502, Z80, 6809, e...
by Linzino
Thu Jan 25, 2018 10:46 am
Forum: Emulation and Cross Development
Topic: UDG on a Vic20 + 3K?
Replies: 8
Views: 5917

Re: UDG on a Vic20 + 3K?

I may have figure it out! :-) CROSS CHASE with user-defined characers, some sound and joystick support now works on a Vic 20 + 3k! The following config seems to be OK. ... MEMORY { ... MAIN: file = %O, define = yes, start = $040D, size = $1C00 - $40D - __STACKSIZE__, fill=yes; DUMMY: file = %O, star...
by Linzino
Wed Jan 24, 2018 2:47 pm
Forum: Emulation and Cross Development
Topic: UDG on a Vic20 + 3K?
Replies: 8
Views: 5917

Re: UDG on a Vic20 + 3K?

Hi!

I have managed to get UDG with +3k. I can only redefine the first 20 characters, though.

I wonder whether this is the expected behavior.

Fabrizio
by Linzino
Wed Jan 24, 2018 2:57 am
Forum: Emulation and Cross Development
Topic: UDG on a Vic20 + 3K?
Replies: 8
Views: 5917

Re: UDG on a Vic20 + 3K?

If I use Vice monitor and look at $1C00, I only find $00, which means that the linker did not do what I was expecting.

A similar cfg file works fine with the 8k and 16k configuration... No idea what is wrong.
by Linzino
Tue Jan 23, 2018 4:12 pm
Forum: Emulation and Cross Development
Topic: UDG on a Vic20 + 3K?
Replies: 8
Views: 5917

Re: UDG on a Vic20 + 3K?

I think I am close to get UDG into my game for the Vic20+3k but I do not see the UDG on the srceen. I am trying to get 64 UDG and 6k of available ram for code and data. The screen starts at $1E00 (7680). If I write into $1E00, I do see the characters but not the user-defined characters. I am not sur...
by Linzino
Fri Dec 22, 2017 7:11 am
Forum: Emulation and Cross Development
Topic: UDG on a Vic20 + 3K?
Replies: 8
Views: 5917

Re: UDG on a Vic20 + 3K?

Thanks Mike! CROSS CHASE already supports UDG in +8k and +16k Vic20 versions (CROSS CHASE is a game for *all* 8 bit computer/consoles/handhelds). The VERY SAME C CODE is used for all computers/consoles except for the hardware-specific code in some cases. The game has 3 versions (generated also by th...
by Linzino
Fri Dec 22, 2017 3:15 am
Forum: Emulation and Cross Development
Topic: UDG on a Vic20 + 3K?
Replies: 8
Views: 5917

Re: UDG on a Vic20 + 3K?

Thanks! I will need slightly more than 6k. My game currently takes 6430 bytes. Maybe I could optimize it a little bit more and make it fit in about 6000. The game is CROSS CHASE in its Vic20 + 3k version, which I write in C for any 8 bit computer/console/handheld. How do I fix the char memory and sc...
by Linzino
Fri Dec 22, 2017 1:46 am
Forum: Emulation and Cross Development
Topic: UDG on a Vic20 + 3K?
Replies: 8
Views: 5917

UDG on a Vic20 + 3K?

Hi

Where to place user-defined graphics/characters on a Vic20+3k while possibly having all or most of the ram for the code in a
contiguous block?

Fabrizio
by Linzino
Thu Dec 21, 2017 5:07 pm
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19939

Re: How to use redefined characters in CC65

Hi everyone, I could figure out what was wrong in the cfg... I had a hole where the stack is supposed to be. This has been fixed with the DUMMY memory area: " ... MEMORY { ZP: file = "", define = yes, start = $0002, size = $001A; SCREEN: start = $1000, size = $0200; LOADADDR: file = %...
by Linzino
Thu Dec 21, 2017 5:04 pm
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 11091

Re: WIP: CROSS CHASE

Further progress after fixing a linker configuration issue
by Linzino
Thu Dec 21, 2017 8:17 am
Forum: Emulation and Cross Development
Topic: How to use redefined characters in CC65
Replies: 30
Views: 19939

Re: How to use redefined characters in CC65

I have (almost) been able to add UDG to the Vic 20 versions by using a slightly modified version of @beamrider's CFG for the Vic20 + 8k and Vic20 + 16k versions of my game. What is broken when using this configutation is that the stack is placed somewhere in memory where it conflicts with graphics m...
by Linzino
Thu Dec 21, 2017 3:14 am
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 11091

Re: WIP: CROSS CHASE

NEW UPDATES

I managed to add some initial graphics to the Vic 20 + 8k and Vic 20 + 16k versions of CROSS CHASE!

You can grab these latest versions at the project's GitHub page:

https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases
by Linzino
Tue Dec 19, 2017 5:27 am
Forum: Games
Topic: WIP: CROSS CHASE
Replies: 16
Views: 11091

Re: WIP: CROSS CHASE

Hi everyone! This is just to remind you that my universal 8 bit game CROSS CHASE https://github.com/Fabrizio-Caruso/CROSS-CHASE/releases now supports 60 different computers/consoles/handhelds including THREE Vic 20 configurations: - Vic 20 + 3k (tiny version of the game: just the essentials) - Vic 2...