Jump to content

Photo

[LYNX] Rewritable Multigame Cartridge


222 replies to this topic

#51 jfmateos OFFLINE  

jfmateos

    Chopper Commander

  • Topic Starter
  • 105 posts

Posted Thu May 14, 2015 11:26 AM

The first batch has been sent.

 

I will make a second batch... there are still a couple of cards of this second batch that are not reserved; if someone is interested, please inquiry through my contact form:

http://www.vectrex.h....php/en/contact

 

It will take at least two weeks to receive all the components.

 

Thanks for supporting my developments.



#52 Guitari OFFLINE  

Guitari

    Stargunner

  • 1,592 posts
  • Location:Kent

Posted Thu May 14, 2015 12:02 PM

I'm in for one please.


I thought I was in the first batch.

#53 jfmateos OFFLINE  

jfmateos

    Chopper Commander

  • Topic Starter
  • 105 posts

Posted Thu May 14, 2015 1:58 PM

Sorry Guitari... there were only a few available... if you are interested in reserve one in the second batch, there is still one available... please inquiry through my contact form:

 

http://www.vectrex.h....php/en/contact



#54 vectrexroli OFFLINE  

vectrexroli

    Moonsweeper

  • 467 posts

Posted Thu May 14, 2015 10:42 PM

Message sent via your contact form. ;-)


Edited by vectrexroli, Thu May 14, 2015 10:42 PM.


#55 gambler172 OFFLINE  

gambler172

    River Patroller

  • 3,121 posts
  • none
  • Location:germany

Posted Fri May 15, 2015 11:01 AM

Hi
hope you got my email?
I want one too.......i sent the mail at 8th may
But i never got an answer :(
greetings Walter

Edited by gambler172, Fri May 15, 2015 11:03 AM.


#56 Stephen ONLINE  

Stephen

    Quadrunner

  • 6,549 posts
  • A8 Gear Head
  • Location:No longer in Crakron, Ohio

Posted Fri May 15, 2015 1:46 PM

Great - I'd like one.



#57 walter_J64bit OFFLINE  

walter_J64bit

    Quadrunner

  • 5,031 posts
  • Location:Goldsboro NC

Posted Wed May 20, 2015 4:15 AM

Say can we get pics of the cart?



#58 jfmateos OFFLINE  

jfmateos

    Chopper Commander

  • Topic Starter
  • 105 posts

Posted Wed May 20, 2015 4:25 AM

Yes walter, I will show pictures tomorrow... I was amazed that nobody asked for pictures :-D



#59 walter_J64bit OFFLINE  

walter_J64bit

    Quadrunner

  • 5,031 posts
  • Location:Goldsboro NC

Posted Thu May 21, 2015 8:29 PM

Yes walter, I will show pictures tomorrow... I was amazed that nobody asked for pictures :-D

bump! :-D



#60 Guitari OFFLINE  

Guitari

    Stargunner

  • 1,592 posts
  • Location:Kent

Posted Thu May 21, 2015 8:46 PM

Sorry Guitari... there were only a few available... if you are interested in reserve one in the second batch, there is still one available... please inquiry through my contact form:
 
http://www.vectrex.h....php/en/contact




Did you get my email? Many thanks :)

#61 jfmateos OFFLINE  

jfmateos

    Chopper Commander

  • Topic Starter
  • 105 posts

Posted Fri May 22, 2015 5:17 AM

Excuse me walter... i was a bit busy... here you have a few photos

fjrKB.jpg

KLzL0.jpg

hZ9OL.jpg

zTcf7.jpg



#62 Joe Stella OFFLINE  

Joe Stella

    Moonsweeper

  • 334 posts
  • Location:NY NY

Posted Fri May 22, 2015 6:50 AM

That's awesome! love the dial.



#63 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • 1,903 posts
  • Location:UK

Posted Fri May 22, 2015 6:53 AM

Great stuff!  Hoping mine arrives tomorrow!



#64 walter_J64bit OFFLINE  

walter_J64bit

    Quadrunner

  • 5,031 posts
  • Location:Goldsboro NC

Posted Fri May 22, 2015 9:54 AM

Awesome! Thanks!

#65 7800fan OFFLINE  

7800fan

    Quadrunner

  • 5,327 posts
  • Location:MI

Posted Fri May 22, 2015 7:37 PM

Looks good!  Using rotary encoder rather than dip switch seems interesting.



#66 mvirtuale OFFLINE  

mvirtuale

    Chopper Commander

  • 135 posts

Posted Sat May 23, 2015 2:24 AM

Did you get my email? Many thanks



#67 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • 1,903 posts
  • Location:UK

Posted Sat May 23, 2015 4:22 AM

Got mine today!  Works great!  Note with 512Kb images you need to use the link on Mateos website in order for it to structure the bytes correctly:- http://www.vectrex.h...alynxconverter/

 

I did try writting standard 512Kb .lyx files but I guess since there's only one way the flash ROM is wired up that's why they need reformatting using his link.  256Kb ROMs work as straight .lyx files I think.



#68 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • 1,903 posts
  • Location:UK

Posted Sat May 23, 2015 5:43 AM

Just looking at how he's restructured the 512Kb ROMs here - the first 1024 bytes (minus 64 byte header obviously) match the same.  Then the data beyond $400 is completely different.

 

eg. 8F 04 FB 09 becomes 73 33 55 A2

 

I guess that makes sense, bits must be transposed somewhere.  I've never really looked at the 512Kb layout much.



#69 jfmateos OFFLINE  

jfmateos

    Chopper Commander

  • Topic Starter
  • 105 posts

Posted Sat May 23, 2015 5:59 AM

Thank you very much GadgetUK,

 

This is the pseudocode I use to rewrite the 512kb.

  • Ignore 64 bytes header
  • do i=0;i<256
    • read 1024 bytes from source file and write them in the output file
    • read 1024 bytes just to forward the index inside the file
  • enddo
  • rewind the source file to start
  • do i=0;i<256
    • read 1024 bytes just to forward the index inside the file
    • read 1024 bytes from source file and write them in the output file
  • enddo

And this is the soruce code in php:

//Desechar la cabecera de 64 bytes
fread ( $rh , 64 );

//Escribir los primeros semi-bloques				
for($i=0;$i<256;$i++){
	$cadena=fread($rh,1024);
	echo $cadena;
	fread($rh,1024);
}

//Escribir los segundos semi-bloques
rewind($rh);

//Desechar la cabecera de 64 bytes
fread ( $rh , 64 );				
for($i=0;$i<256;$i++){
	fread($rh,1024);					
	$cadena=fread($rh,1024);
	echo $cadena;
}


#70 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • 1,903 posts
  • Location:UK

Posted Sat May 23, 2015 6:05 AM

Thanks for sharing this! I will update my utility to handle this format! Great work, it's a sweet little cart - very clever using mountable drive via that PIC chip! Very elegant design!

#71 GadgetUK OFFLINE  

GadgetUK

    Stargunner

  • 1,903 posts
  • Location:UK

Posted Sat May 23, 2015 8:20 AM

Thanks, I've added the option into my utility and tested other size of ROMs.  It looks like 256Kb EPYX type 'just work' without any issues.  In order to get 128Kb ROMs working I use the mode in my util to convert 128Kb -> 256Kb (EPYX), then they work fine.  Now has the 512Kb -> 512Kb (Mateos) option as well.

 

https://www.dropbox.....0.0.1.zip?dl=0

 

 

EDIT: Can I ask a question - how does the 512Kb thing work regards the rotary switch?  For example I have a 512Kb game in the 0 slot, and that works.  In slot 1 I have a 256Kb game and that works OK - this is NOT what I would have expected, I assumed that in 512Kb setting the first game would fill slots 0 (lower 256Kb) and slot 1 (upper 256Kb).  Does 512Kb in the first slot mean that 0 and 8 are used?


Edited by GadgetUK, Sat May 23, 2015 8:29 AM.


#72 karri ONLINE  

karri

    River Patroller

  • 2,200 posts
  • Location:Espoo, Finland

Posted Sat May 23, 2015 9:41 AM

Yes! I got my copy also.

 

In order to program a lnx file you need to strip the first 64 bytes. For Linux people this is simply

tail -c 262144 mygame.lnx > mygame.lyx

Then you just connect your card using USB and drag the lyx file to the cart. Eject the drive and enjoy the game :)

 

Edit: In order to write games with 512 bytes/block you need to do this:

 

tail -c 131072 mygame.lnx > mygame.tmp
split -b 512 mygame.tmp
for fn in `ls x??`; do
cat $fn >> mygame.lyx
cat $fn >> mygame.lyx
done
rm x?? mygame.tmp

Edited by karri, Sat May 23, 2015 10:00 AM.


#73 StijnDW OFFLINE  

StijnDW

    Star Raider

  • 63 posts
  • Location:Belgium

Posted Sat May 23, 2015 10:08 AM

GadgetUK,

I also asked jfmateos.
For the 512k roms slots 0 and 8 / 1 and 9 / 2 and a /... are used in pairs so for selecting the games use 0 up to 7.

Also for quickly loading multiple games there is no need to disconect the USB cable.
Use this procedure

  1. Select first slot to load and connect USB Cable
  2. Copy over the ROM file.
  3. Delete the ROM file (Shift-Del)
  4. Select new slot with switch
  5. Continue from step 2 onwards until all slots are loaded.

For making 128K ROMs work just double them up and load them up to the cartridge.


Edited by StijnDW, Sat May 23, 2015 10:12 AM.


#74 jp48 OFFLINE  

jp48

    Chopper Commander

  • 103 posts
  • Location:Finland

Posted Sat May 23, 2015 10:12 AM

I am interested of this, still any left ? Works with homebrew stuff as well ? Just got my first ever Lynx today :) !



#75 jfmateos OFFLINE  

jfmateos

    Chopper Commander

  • Topic Starter
  • 105 posts

Posted Sat May 23, 2015 10:13 AM

Thanks, I've added the option into my utility and tested other size of ROMs.  It looks like 256Kb EPYX type 'just work' without any issues.  In order to get 128Kb ROMs working I use the mode in my util to convert 128Kb -> 256Kb (EPYX), then they work fine.  Now has the 512Kb -> 512Kb (Mateos) option as well.

 

https://www.dropbox.....0.0.1.zip?dl=0

 

 

EDIT: Can I ask a question - how does the 512Kb thing work regards the rotary switch?  For example I have a 512Kb game in the 0 slot, and that works.  In slot 1 I have a 256Kb game and that works OK - this is NOT what I would have expected, I assumed that in 512Kb setting the first game would fill slots 0 (lower 256Kb) and slot 1 (upper 256Kb).  Does 512Kb in the first slot mean that 0 and 8 are used?

 

¡Guauuuuu! Thank you very much for your video-review...

 

The instructions can be found in my website: http://www.vectrex.h.../howto-burn-rom

 

If you select 512kb mode, the slots are combined in pairs: 0 and 8, 1 and 9, 2 and A, and so on.

 

If you write a 512kb in slot 0 it will also extend into slot 8... so be carefull; if you had a 256kb game in slot 8 it would be overwritten by the 512kb game.

 

thank you very much Gadgetuk






0 user(s) are browsing this forum

0 members, 0 guests, 0 anonymous users