Creativision MegaSDCart

Talk about programming CreatiVision (except games programming). Projects of homebrew hardware are also welcome.
User avatar
cheshirenoir
Posts: 279
Joined: Sun Jun 02, 2019 5:17 am

Re: New hardware coming soon...

Post by cheshirenoir » Sat Apr 09, 2022 5:12 am

Brilliant!

(BTW, did the Keyboard adapter go up anywhere? Mine works well, so getting them in the hands of people like Mr Lurch would probably be good)

Chesh
User avatar
Scouter3d
Posts: 646
Joined: Mon Jun 28, 2010 7:02 am
Location: Wien
Contact:

Re: New hardware coming soon...

Post by Scouter3d » Sat Apr 09, 2022 7:26 am

I have populated one ProtoPCB, but sadly it is not working :0(

=> now i go Bughunting...

Cheers, TOM:0)
User avatar
Mobsie
Posts: 708
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: New hardware coming soon...

Post by Mobsie » Sun Apr 10, 2022 11:12 am

Oh no… i hope you find it and a way to fix
User avatar
Scouter3d
Posts: 646
Joined: Mon Jun 28, 2010 7:02 am
Location: Wien
Contact:

Re: New hardware coming soon...

Post by Scouter3d » Mon Apr 11, 2022 3:30 pm

Hi!

it lives!

There is no error in the schematic! The fault was the (very) old bootloader the arduino nano clone came preprogrammed with!
Apparently the old bootloader waits a few seconds at powerup to check for USB signals... So the Arduino bootet up much to slow!

after flashing a new bootloader => it workes!

here it is in all its glory:0)

final_small.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
Mobsie
Posts: 708
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: New hardware coming soon...

Post by Mobsie » Tue Apr 12, 2022 9:23 am

Yeah🍾👍 so great News
User avatar
@username@
Posts: 320
Joined: Tue Oct 22, 2013 6:59 pm
Location: Scotland

Re: New hardware coming soon...

Post by @username@ » Wed Apr 13, 2022 3:08 pm

MegaSDCart ROM Loading

This is a quick overview of how our hamster, young Mega, loads ROMs on the MegaSDCart.

The creatiVision ROM load style is determined by the size of the ROM.

4kB ROMs load directly to $B000.

6kB ROMs load 4kB to $B000, then 2kB to $A800. Deep Sea Adventure and Planet Defender should load to $A000. To accomodate this, the 2kB block is duplicated at both $A000 and $A800.

8kB ROMs load directly to $A000.

10kB ROMs (Locomotive) loads 8kB to $A000, then 2kB to $7000. Again as these ROMs are only determinde by size, Werben has it's EEPROM copied to $4000.

12kB ROMs loads 8kB to $A000, then 4kB to $7000. In the case of BASIC82A and BASIC82B the font dowloader looks at $4000 for first 256 bytes - so Mega just changes $40 to $70 dynamically.

16kB ROMs loads 8kB to $A000, then 8kB to $8000.

18kB ROMs (Chopper Rescue) has the final 2kB loaded to $7800.

Any ROM which is not of these sizes will be loaded as linear - so $C000-ROMsize - which allows for really small ROMs.

One of our proto programs was VGM player - which is a mere 200 bytes including ROM header :)

SD Format

As MegaSDCart uses the standard Arduino library, the micro SD card should be formatted to FAT16 or FAT32, as only the 8.3 short name format is supported. Currently, there is a maximum of 126 files per directory - which is way more than ROMs available!

Additional Functions

As there was some space left in the massive 8kB BIOS ROM - Mega has added a couple of library functions.

There is a libLZG 6502 specific unpacking routine - which can unpack to RAM or VRAM.
A full hex editor is also in the browser - handy for finding which wire or solder is not as expected.
A TI99 song list player is also there to make life easy - as this song list / sound effect format is extremely well documented.

In the next couple of days, Mega will write the definition of the command descriptor blocks to pass requests from 6502 to Arduino and post here. Mega has also added multiple BASIC listings within a single file - to allow multipart BASIC programs to load and play!

I knew we should not have released him from Crazy Chicky!
User avatar
Scouter3d
Posts: 646
Joined: Mon Jun 28, 2010 7:02 am
Location: Wien
Contact:

Re: New hardware coming soon...

Post by Scouter3d » Fri Apr 15, 2022 1:36 pm

Hi,

here is my first go at a MegaSDCart cartridgecase...

And i did some minor cosmetic changes to the PCB...

Cheers, TOM:0)
20220415_153133.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
cheshirenoir
Posts: 279
Joined: Sun Jun 02, 2019 5:17 am

Re: New hardware coming soon...

Post by cheshirenoir » Sat Apr 16, 2022 3:06 am

Looks good!

Keep us all updated :-D

If you need an antipodean tester, you know where to find me :-)

Chesh
User avatar
@username@
Posts: 320
Joined: Tue Oct 22, 2013 6:59 pm
Location: Scotland

Re: New hardware coming soon...

Post by @username@ » Sat Apr 16, 2022 10:50 am

SDCC code for testing the API.
alpdemo.zip
Current testing BIOS - copy to bios subdirectory,
megabios.zip
creatiVision emulator for Win64, including updated SDL libs.
CVMSD.zip
Use creatiVision -4 drive_letter
For example, if you have a FAT16/32 formatted SD card mounted as drive F do creatiVision -4 f

Any issues, please let me know!

DASM source and Arduino sketch at https://sourceforge.net/projects/mega-sd-cart-bios/
Image
You do not have the required permissions to view the files attached to this post.
User avatar
Mobsie
Posts: 708
Joined: Fri Jun 13, 2008 10:38 am
Location: Weinheim, Germany

Re: New hardware coming soon...

Post by Mobsie » Wed Apr 20, 2022 10:09 am

So cool!

When is ready to order?
Post Reply