Jump to content
IGNORED

Ultimate SD cart - another possible run


ndary

Recommended Posts

I received my Ultimate SD Cart yesterday in the mail. I always feel like a kid at Christmas every time I open the mailbox and something Atari is there. :) The cart looks fantastic and I won't have to sacrifice a cart shell this time. I bought the "PCB Arrangement" Ult cart months ago from Santosp and totally destroyed an XE cart shell in the process. I ended up modifying a Spinnaker cart shell to fit the PCB and it worked quite well. It is definitely nice this time around to have one fully assembled.

 

Many thanks to Electrotrains for his design, Santosp for constructing, and FJC for his revised BIOS. ?

post-8513-0-85194000-1476384366_thumb.jpg

  • Like 4
Link to comment
Share on other sites

How does this work, i have siosd2 that i use, tried to run roms from this but they dont load.

Would i be able to download rom images and load them on my 130xe with one of these ultimate carts.

 

Yes. It emulates pretty much every cartridge type up to 1 megabyte (8mbit) in size, and will also launch XEX files.

It doesn't do disks though - so you'll need to keep your SIO2SD for ATR files.

 

Robin

  • Like 1
Link to comment
Share on other sites

 

Yes. It emulates pretty much every cartridge type up to 1 megabyte (8mbit) in size, and will also launch XEX files.

It doesn't do disks though - so you'll need to keep your SIO2SD for ATR files.

 

Robin

Does it emulate the 1mbit and 8mbit Atarimax carts?

Link to comment
Share on other sites

Those carts allow loading of ATR files, so maybe it's possible to use Maxflash studio to create 1mbit or 8mbit images with ATR's and then run those images and load the ATR. Has anyone tried this? I'm really looking forward to getting my cart when batch 2 is complete. :)

Link to comment
Share on other sites

Those carts allow loading of ATR files, so maybe it's possible to use Maxflash studio to create 1mbit or 8mbit images with ATR's and then run those images and load the ATR. Has anyone tried this? I'm really looking forward to getting my cart when batch 2 is complete. :)

 

Well,

 

I did not convert an ATR image into a 1MBit or 8MBit ROM file yet, but have downloaded more than one-hundred of these ROM and CAR files at the atarimax forum. Many of the ROM / CAR files do load ATR images, you can hear some floppy-like noise - and all I have tested so far worked fine with the Ultimate Cart.

 

So, in general, the Ultimate Cart cannot load ATR images directly (not yet), but if you use the Maxflash studio and convert ATR images into working maxflash ROM/CAR images, then the Ultimate Cart can load them. (Not all ATR images will work as maxflash ROM/CAR images though.)

Link to comment
Share on other sites

 

Yes. It emulates pretty much every cartridge type up to 1 megabyte (8mbit) in size, and will also launch XEX files.

It doesn't do disks though - so you'll need to keep your SIO2SD for ATR files.

 

Robin

Some Max flash cart games save data (new Pac-Man, Summer Games).

Is it possible?

Link to comment
Share on other sites

Philsan,

 

Theoretically possible given the hardware, yes. But not supported at present.

 

As far as I know, AtariMax has never publicly released the documentation on how to save data to an AtariMax cartridge. However, this is emulated by Altirra (which is open source) so I could base it on that. However, without the nod from AtariMax that he is ok with me doing this, I'm probably not going to add it.

 

A second issue is lack on space in the current firmware. I'd have to really re-organise the current firmware to fit in the extra code to support writes to the SD card.

 

Robin

  • Like 2
Link to comment
Share on other sites

I have implemented writing to the cart for the Jim Slide Cart (which is final since saturday). I think it is easier than that:

Writing is done like the flash chips documentation. But because of flash chips availibility there are different chips for Atarimax carts over the time.

So you have to adress the two (!) chips of 512KB on the cart like in the documentation of the manufacturer of the flash chips.

Since the chips ar nearly all the same (except for some minor details like erasing block size),

 

Implementing a write is not Atarimax specific. It is done like in the flash documentation of the manufacturer.

Basically the chip listens to the adresses and values, that are written to itself. If they form a specific code, then it is activates writing, erasing etc.

A wait is necessary after each write and reading of the status result. It may happen, that writes to the chip fail.

 

I got that Information from the The!cart team, especially hias. And I have downloaded the documentation for the actual used flash chips from the manufacturer.

 

Writing from MADS Assembler looks like this:

; copy a byte into the flash at adress (source) to (dest)
; dest within A000-BFFF. 
; source outside A000-BF00.
; Bank select in X    
WriteByteSST39SF040
	ldy #0
        jsr SigWriteCommand 	; Send Command for writing a byte
	lda $D500,x
        lda (source),y
	sta (dest),y
	jsr WriteData		; Write to flash via DQ7 algorithm
	bne WriteError1
	lda #0
writeError1
	rts



; DQ7 polling algorithm
WriteData 
	lda (dest),Y
	and #$80		; Highest bit
        sta AtariMaxBit7
WriteDoneLoop
	lda (dest),Y
        eor AtariMaxBit7
        bpl WriteOK		; done if bit 7 is inverted
        and #$20		; check Bit 5
        beq WriteDoneLoop
        lda (dest),Y
        eor AtariMaxBit7
        bpl WriteOK
        jsr SetReadMode		; error accured!
        lda #$FF		
        rts

WriteOK lda #$00
        rts

SetReadMode
	ldx #5
	jsr Wait
	lda AtariMaxModuleType
	bne @+
        ModulePokeA $80000,$F0	; write $F0 to any memory location ($80000 means second chip only!)
	rts
@	jsr SigIntroCommand	; write common signature intro
        ModulePokeA $85555,$F0	;
	lda $d500		; set bank (for reading ID etc)
	rts 
	
; send common signature intro
SigIntroCommand
	lda AtariMaxModuleType
	bne @+
	ModulePokeA $80555,$AA
	ModulePokeA $802AA,$55
	rts
@	ModulePokeA $85555,$AA
	ModulePokeA $82AAA,$55
	rts

SigWriteCommand
	jsr SigIntroCommand
	lda AtariMaxModuleType
	bne @+
	ModulePokeA $80555,$A0
	rts
	ModulePokeA $85555,$A0
	rts

Wait	ldy #0	; wait X times 5 us
@	dey	
	bne @-	
	dex	
	bne @-
	rts 	

	.macro ModulePokeZP
; ModulePoke $5555, a
; ModulePoke :1
	cmp $D500+(:1/$2000)                          ; 8k = $2000 "high" as banks access  
	sta $A000+(:1)-((:1/$2000)*$2000)             ; 8k low as store
	.endm

	.macro ModulePoke
; ModulePoke $5555, constant
; ModulePoke :1 :2
	ldx $D500+(:1/$2000)    		      ; 8k = $2000 "high" as banks access  
	ldx #:2
	stx $A000+(:1)-((:1/$2000)*$2000)             ; 8k low as store
	.endm

	.macro ModulePokeA
; ModulePoke $5555, constant
; ModulePoke :1 :2
	lda $D500+(:1/$2000)    		      ; 8k = $2000 "high" as banks access  
	lda #:2
	sta $A000+(:1)-((:1/$2000)*$2000)             ; 8k low as store
	.endm

The documentation for the used chips is all over the internet.

http://www.metatech.com.hk/datasheet/sst/standard_mem_pdf/398-39SF040-03-DS.pdf

Similar other chips are there too.

 

If you put in write support, then Jim Slide+ can save to the cart. This means, that playing adventure mode a second time on another day can be continued. Jim Slide also has support for erasing the saved data - Not the game of course :-). And BTW: Altirras emulation works perfectly, it even asks to save if the cart has changed (because Jim Slide+ had saved data)

 

And I would like to have one cart of these!

  • Like 2
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...