Megalextoria
Retro computing and gaming, sci-fi books, tv and movies and other geeky stuff.

Home » Digital Archaeology » Computer Arcana » Commodore » Commodore 8-bit » WinVice: unsupported c64 cartridge types
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
WinVice: unsupported c64 cartridge types [message #210317] Mon, 23 September 2013 14:46 Go to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
I have WinVice 2.2 and 2.4 and have just decided to continue working on GenCart64, a library for cc65 to allow the creation of ROM cartridges for a C64. So far, it works. However, my current desires are with formats not supported by WinVice. The formats in question are currently Simpn's Basic and WarpSpeed. Are new cartridge formats in consideration? Do other c64 emulators support these cartridge formats?

BTW, I plan to someday implement a cartridge-based codec to compress and decompress BASIC programs. Which format allows the ROM to be disabled except when run?
Re: WinVice: unsupported c64 cartridge types [message #210318 is a reply to message #210317] Mon, 23 September 2013 15:08 Go to previous messageGo to next message
Peter Schepers is currently offline  Peter Schepers
Messages: 23
Registered: January 2013
Karma: 0
Junior Member
> I have WinVice 2.2 and 2.4 and have just decided to continue working
> on GenCart64, a library for cc65 to allow the creation of ROM
> cartridges for a C64. So far, it works. However, my current desires
> are with formats not supported by WinVice. The formats in question
> are currently Simpn's Basic and WarpSpeed. Are new cartridge formats
> in consideration? Do other c64 emulators support these cartridge
> formats?

According to

http://vice-emu.sourceforge.net/vice_7.html#SEC98

both of these CRT's are supported in WinVice.

There's a slew of CRT's defined that I've never gotten around to
including into my FORMATS documentation yet.

PS
Re: WinVice: unsupported c64 cartridge types [message #210319 is a reply to message #210317] Mon, 23 September 2013 16:47 Go to previous messageGo to next message
Anonymous
Karma:
Originally posted by: Frank Buss

Harry Potter wrote:

> BTW, I plan to someday implement a cartridge-based codec
> to compress and decompress BASIC programs. Which format
> allows the ROM to be disabled except when run?

This would be the "Magic Desk" format. I've written a Python script and
a simple loader to create CRT files from any PRG file. Recently I fixed
some bugs with the Basic variable initialization, should be 100%
compatible now:

http://www.frank-buss.de/c64/prg2crt/index.html

Works perfect with the prototype of my new cartridge:

http://www.crazycartridge.org

Feel free to use the assembler and/or Python program for your
compressor, just mention in some readme from where you have it.

--
Frank Buss, http://www.frank-buss.de
electronics and more: http://www.youtube.com/user/frankbuss
Re: WinVice: unsupported c64 cartridge types [message #210320 is a reply to message #210318] Tue, 24 September 2013 09:39 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
I thank both of you for your information! :) All that should help.
Re: WinVice: unsupported c64 cartridge types [message #210326 is a reply to message #210319] Tue, 01 October 2013 12:46 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Monday, September 23, 2013 4:47:38 PM UTC-4, Frank Buss wrote:
> This would be the "Magic Desk" format.

I looked into my documentation. Magic Desk is a good idea, but if things go well--and I *do* achieve a better compration ratio as I desire--I should only need an 8k cartridge for it; 32k+ should be unnecessary. Such might also be useful for a dirmenu-style GenCart64 demo. DirMenu is another contribution to cc65 I wrote.
Re: WinVice: unsupported c64 cartridge types [message #210329 is a reply to message #210326] Wed, 02 October 2013 10:13 Go to previous messageGo to next message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
I just realized my error. I believe I made a miscommunication here: the cartridge is to contain code that activates during the BASIC program load and save processes, compresses or decompresses the data on-the-fly, then disables itself and returns to BASIC. If I can ever get this to actually work, I might get away with an 8k cartridge. As such, the extra 24k would be wasted. I just looked at my documentation again and didn't find anything useful.
Re: WinVice: unsupported c64 cartridge types [message #210330 is a reply to message #210329] Wed, 02 October 2013 19:33 Go to previous messageGo to next message
Bill Buckels is currently offline  Bill Buckels
Messages: 1418
Registered: November 2012
Karma: 0
Senior Member
"Harry Potter" <rose.joseph12@yahoo.com> wrote:

> I just looked at my documentation again and didn't find anything useful.

Most people have that problem with my documentation too... but at least I
find my own documentation useful. You must write some pretty bad
documentation if you can't even use it yourself:)

Or did I misunderstand you... ??? (Just kidding of course:)

Bill
Re: WinVice: unsupported c64 cartridge types [message #210414 is a reply to message #210326] Fri, 01 November 2013 11:57 Go to previous message
Harry Potter is currently offline  Harry Potter
Messages: 1304
Registered: March 2012
Karma: 0
Senior Member
On Tuesday, October 1, 2013 12:46:54 PM UTC-4, Harry Potter wrote:
> On Monday, September 23, 2013 4:47:38 PM UTC-4, Frank Buss wrote:
>
>> This would be the "Magic Desk" format.
>
>
>
> I looked into my documentation. Magic Desk is a good idea, but if things go well--and I *do* achieve a better compration ratio as I desire--I should only need an 8k cartridge for it; 32k+ should be unnecessary. Such might also be useful for a dirmenu-style GenCart64 demo. DirMenu is another contribution to cc65 I wrote.

I want to update my information: the 8k was a guess. I think that the 8k was at best a conservative guess of the needed code size. It *may* be just enough to fit the codec and an interface to the OS. I think that the WarpSpeed format would be better: I get 16k of code space; it only has to be active when used; it could have a read-out of the ratio; it might even allow some fast-load code. The Magic Desk format would do okay by giving 32k, but it would take extra work to switch banks. Of course, I think that the estimate given was based on a cc65 test coder with heavy assembler/zp, a minimized crt0.s file and usage of a simplified text display code (my cbmsimpio library for cc65). I think that removing callmain would save a little because, even when I remove the call in the crt0.s file, I don't cut any bytes from the codec's size. The reason why I keep asking for more optimization techniques is so I can fit the codec in an 8k cartridge--and I didn't know the variety of c64 cartridges at the time. Besides that, if I cut the executable and/or bss data usage by 1k, I have 1k more room for the compression..

BTW, as of now, I don't have a working codec, and when I do, I'll need to be able to interface with the kernel upon startup and override the default LOAD/SAVE routines.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: .BIN files????
Next Topic: [WTB] TED 8360 and PLA for Commodore 16/116
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Apr 19 12:00:25 EDT 2024

Total time taken to generate the page: 0.01385 seconds