Login
Back to forumReply to this topicGo to last reply

Posted By

Harry Potter
on 2022-04-05
16:36:48
 AdvSkelVic65/C16 for Plus4 cartridge?

Hi! I am working on porting my AdvSkelVic65 program to the C64 on a cartridge. I also want to port it to the Plus4/C16 via a cartridge image. I have two questions: 1. Should I? 2. Where can I find a schematic on creating a C16/Plus4 cartridge?

Posted By

gerliczer
on 2022-04-06
02:49:33
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

1. Why not? Do as you like. It could be a nice experience. 2. Would you please use the search function of this site with the word cartridge and evaluate the numerous results?

Posted By

Harry Potter
on 2022-04-06
06:55:42
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

Hi! I thank you for your response but couldn't find the schematics. sad

Posted By

Frenetic
on 2022-04-06
08:15:42
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I looked at this page when making the Sidekick64/264:

http://www.cbmhardware.de/show.php?r=4&id=11/C16%20und%20Plus/4%20Expansionsport

(what I read nowhere is that the RESET line is different on the C16 and Plus/4, but that usually doesn't matter for cartridges)

Posted By

Harry Potter
on 2022-04-06
08:19:09
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

It didn't help. I had to translate it from German, and it doesn't give the software format. sad

Posted By

Harry Potter
on 2022-04-06
08:59:06
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I have the C64 cartridge versions available if anybody's interested.

Posted By

zzarko
on 2022-04-06
11:42:58
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

Open source C64 and Plus/4 banking cartridges (soon C128 too):
https://github.com/msolajic/c64-magic-desk-512k
https://github.com/msolajic/c264-magic-cart

Software for making PRG compilations for them:
https://bitbucket.org/zzarko/magic-cartridge-generator/
You can take a look at C64 and Plus4 ASM source to see how a cartridge can be used for your own projects.

Posted By

Harry Potter
on 2022-04-07
18:56:14
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

Uhh...they didn't help. sad

Posted By

siz
on 2022-04-08
02:24:12
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

Perhaps have a look at OpenC16Cart

Posted By

Harry Potter
on 2022-04-08
07:30:38
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I just looked. It is not what I want. I'm looking for the software, not the hardware, as I will be working on emulators.

Posted By

Frenetic
on 2022-04-08
08:30:17
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I'm still not sure I got what you're looking for. In your first post you asked for "schematics". Is it banking you're looking for when saying "software"? Both Magic Desk and Sidekick264 do it. For more documentation/involved memory addresses see SVS's Ultimate Map.

Posted By

Harry Potter
on 2022-04-08
09:11:38
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I'm sorry for the misleading post. sad I want to create a cartridge image for Plus4 emulators. If I succeed, my customers can make cartridges out of my program, as it is just the "skeleton" around which they can create their own text adventures.

Posted By

Frenetic
on 2022-04-08
09:23:57
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

you mean you'd like to have/adapt something like this: http://swut.net/c64cart-c.html for the Plus/4?

You'd have to modify the linker file, and get some startup code (e.g. that from MagicCart or https://github.com/frntc/Sidekick64/blob/master/Source/Firmware/C16Side/cart264b.a or ...)

Posted By

Harry Potter
on 2022-04-08
09:44:57
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I know that. I just want to create a generic cartridge for the Plus4 and C16. I need to know how to create the cartridge image for the emulators.

Posted By

Harry Potter
on 2022-04-08
09:49:43
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

It looks like what I need. Thank you. happy Now, I need to know what $FDD0 does and how to download the file.

Posted By

Harry Potter
on 2022-04-08
09:59:19
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

How do I access the kernal from a cartridge?

Posted By

zzarko
on 2022-04-08
13:25:56
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

If you look at the map, you can have cartridge on LO, and kernal on HI, so you can access it directly from cartridge, if that is what you want. I use kernal calls in my setup code.

Posted By

Harry Potter
on 2022-04-09
07:52:52
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I looked into my docs. but couldn't find how to set the cartridge banks. sad

Posted By

Harry Potter
on 2022-04-10
17:45:13
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I Googled everywhere and could only find that the range mentioned may be used for banking. sad

Posted By

gerliczer
on 2022-04-11
04:41:19
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

The page Frenetic linked in on 6th of April explain properly how this thing works. And of course has a typo, too.

Posted By

Harry Potter
on 2022-04-11
10:07:51
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

Found it. Thank you. happy

Posted By

Harry Potter
on 2022-04-27
16:16:44
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

Hi, again. How do I download the cart264b.a file? I can't seem to find a Download button. sad

Posted By

Harry Potter
on 2022-05-02
20:54:42
 AdSkelVic65 now has Plus4 cartridge support!

happy It is at https://sourceforge.net/projects/cc65extra/files/game/. Try it out!

BTW,I fixed a bug with the Look verb: it was reporting a false-not-available error.

Posted By

Harry Potter
on 2022-05-10
15:49:36
 AdSkelVic65 now has 32k Plus4 cartridge support!

Hi! I just updated AdvSkelVic65 again, this time with 32k Plus4 cartridge support. Also, the Plus4 cartridges can be run on a 16k C16. https://sourceforge.net/projects/cc65extra/files/game/. Try it out!

Posted By

Harry Potter
on 2022-05-12
11:42:05
 Anybody here programming a Plus4/C16 cartridge w/ cc65?

Hi! If you have cc65 and want to program a cartridge for the Plus4 or C16, I have the necessary support in my AdvSkelVic65 code. It is at https://sourceforge.net/projects/cc65extra/files/game/. The relevant files are in the plus4crt01\ folder for a 16k cart and plus4crt02\ for s 32k cart. The 32k cart works with a 16k cartridge setup but has routines to access the upper 16k. I ask you to try them out and tell me what you think.

Posted By

Csabo
on 2022-05-12
12:07:35
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

Hey there, I combined 4 of the forum topics you opened into one, in hopes to clear up the forum a bit (we received a few complaints that you're posting too many of the same messages). The last 3 of your posts, as seen here, are pretty much the exact same thing - so I can't disagree.

Let's keep posts related to AdvSkelVic65 to this topic. That way everyone's happy :-)

Posted By

Harry Potter
on 2022-05-12
13:10:54
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I'm sorry about the abuse, and thank you for telling me and concatenating the posts.

Posted By

Harry Potter
on 2022-05-28
10:38:39
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I found some bugs with 32k Plus4 cartridges. I fixed them. Should I upload the changes now?

Posted By

Harry Potter
on 2022-05-28
10:47:01
 Re: AdvSkelVic65/C16 for Plus4 cartridge?

I also optimized the PET version. Not that it matters here.



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024