.dsk to .rom, is possible ? (Emulation MSX Fora)MSX Resource Center            
            
English Nederlands Espa�ol Portugu�s Russian         
 Nieuws
   Voorpagina
  Nieuws archief
  Nieuws onderwerpen

 Informatie
   MSX Fora
  Artikelen
  Recensies
  Beursverslagen
  Fotoreportages
  Beurzen en meetings
  Enquêtes
  Links
  Zoek

 Software
   Downloads
  Webshop

 MRC
   Wie we zijn
  Kom bij ons team
  Doneren
  Policies
  Contact met het MRC
  Link naar Ons
  Statistieken

 Zoek
 
  

  

 Login
 

Gebruikersnaam

Wachtwoord




Ben je nog niet lid? Klik hier en word MSX vriend!


 Statistieken
 

Er zijn 54 gasten en 4 MSX vrienden online

Je bent een anonieme bezoeker.
 

MSX Fora


MSX Fora

Emulation - .dsk to .rom, is possible ?

Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 | 5 Volgende pagina )
Schrijver

.dsk to .rom, is possible ?

SLotman
msx professional
Berichten: 544
Geplaatst: 23 Mei 2007, 19:29   
Quote:


Hm, can you give more details about the loader? Is it sector based, msx-dos? Is the game loaded in 1-go, or does it load levels? Is it possible to compare, eg. via a save-state the contents of the ram after loading of the working diskimage with the romimage after loading?

Random, could it be something with interrupts being enabled where you want them to be disabled?

Can you make a screenshot; is the garbling random, or a fixed pattern (like before, white blocks?)



Actually, there's no loader in Blinky, all graphics and music are compressed in the .COM, and expanded when needed, so the loading are pure MSX-DOS.

The garbage is really random, it can appear anywhere on screen... and it appears *after* the screen is drawn (that's the strangest part, since the screen is only drawn once where there's no animated tile)

Maybe is some issue with hook 38h? I use it for the music player...
(I place a JP PLAY_SONG in FD9Ah)


Vincent van Dam
msx addict
Berichten: 382
Geplaatst: 23 Mei 2007, 20:48   
Quote:

Actually, there's no loader in Blinky, all graphics and music are compressed in the .COM, and expanded when needed, so the loading are pure MSX-DOS.



I don't think it's a problem with the actual loading of the file; I created a test comfile for msxdos with data 00 to ff for about 50kb, and it checks after loading if that data is there; the result was perfect.

A diskrom can include a custom interrupt handler, but this one doesn't; it does look like a problem with interrupts (because after the screen is drawn, and because of the randomness).

Just to be sure, the disk image itself doesn't have this problem? The problem is only after conversion? Can you try out the original dsk image and boot with control to enable just 1 drive (that comes close to environment of the dsk2rom diskrom).

Also, what's the original format of the dsk file (double sided, 720kb, f9)?
SLotman
msx professional
Berichten: 544
Geplaatst: 23 Mei 2007, 20:58   
I guess it have something to do with the interrupt...

I added a EX (SP),IX / PUSH IX before and a POP IX / EX (SP),IX after the CALL PT3PLAY (The PT3 player) and the bug seems to be gone

The original disk didnt have this problem.

And something I just tried: I killed all empty areas on the DSK (the FFh bytes at the end) and now I have a working Blinky ROM with 73kb
SLotman
msx professional
Berichten: 544
Geplaatst: 23 Mei 2007, 21:43   
Oh, and one thing to add to the readme, how to make the ROM on MS-DOS:

copy dsk2rom.rom /b + yourdisk.dsk /b myrom.rom

I *think* the /b can be safely removed, but I use them just to be on the safe side

Also, if you plan to add compression, try bitbuster... it even has pc packer/depacker already, so it is halfway done

But I dont know how slower it will be... maybe two different programs, one with compression (for games that load once) and one without (for games that loads several times, even during gameplay)

But just an idea on how bitbuster is good... I bitbusted blinky.dsk, which shrank from 59k to 32k... add 16k from the dsk2rom, it gets to amazing 48k... now any MSX with 64k RAM would be able load it, even without MegaRAM or Mapper
ARTRAG
msx master
Berichten: 1737
Geplaatst: 23 Mei 2007, 22:14   
Try pletter also, in my experience it outperforms bitbuster almost all cases
Vincent van Dam
msx addict
Berichten: 382
Geplaatst: 23 Mei 2007, 22:50   
I am going for pletter, the description on the xl2s site convinced me it performs better.
pitpan
msx master
Berichten: 1389
Geplaatst: 23 Mei 2007, 23:56   
The /B modifier cannot be removed. It indicates BINARY copy. If it is not included, files are appended using ASCII format. If any of them has a valid EOF code, the output will be truncated instead of being a sequential copy of both files.
Chardson
msx lover
Berichten: 93
Geplaatst: 24 Mei 2007, 00:25   
Quote:

Oh, and one thing to add to the readme, how to make the ROM on MS-DOS:

copy dsk2rom.rom /b + yourdisk.dsk /b myrom.rom



It can be used like this:

copy /b dsk2rom.rom+yourdisk.dsk myrom.rom
Yukio
msx professional
Berichten: 824
Geplaatst: 24 Mei 2007, 20:26   
Cool! I will try it.

Yukio
msx professional
Berichten: 824
Geplaatst: 25 Mei 2007, 01:49   
Amazing!
Now, it is possible to do those graphic Adventure games for MSX1 or MSX2 without much trouble ...

4 mega-bit (512 KB) and 6 mega-bit (768 KB) games waiting for Beta testers.
manuel
msx guru
Berichten: 3531
Geplaatst: 29 Mei 2007, 09:38   
So, it seems there is compression now. How good is it? Can most 720kB games be fit into a 512kB MegaFlashROM SCC?
Phantom
msx friend
Berichten: 15
Geplaatst: 29 Mei 2007, 12:12   
Quote:

So, it seems there is compression now. How good is it? Can most 720kB games be fit into a 512kB MegaFlashROM SCC?

It looks that way. I only tried it on a handful of disks, but it worked in all those cases.

Great work Vincent!
Huey
msx professional
Berichten: 630
Geplaatst: 29 Mei 2007, 13:14   
Great news. Especialy for Manuel Pazos. His flashROMs are becoming a must more and more.
mouser
msx lover
Berichten: 89
Geplaatst: 30 Mei 2007, 14:09   
Hi, I have tried dsk2rom with msxmania images and Megaflashrom 512 SCC, and it works great !!

But I cannot make it work with compressed images. I use the following orders from the MS-DOS prompt:

copy /B dsk2rom.rom + mania064.dsk mania064.rom
dsk2rom -c 2 mania064.rom man064c.rom

and later in MSX-DOS:

opf man064c.rom

... and it just don't work. Am I missing something here ?
Imanok
msx addict
Berichten: 284
Geplaatst: 30 Mei 2007, 14:54   
I think you're mixing things... you just have to type (from MS-DOS)

dsk2rom -c 2 mania064.dsk man064c.rom

... and that's all
 
Ga naar pagina ( Vorige pagina 1 | 2 | 3 | 4 | 5 Volgende pagina )
 







(c) 1994 - 2008 Stichting MSX Resource Center. MSX is een trademark van MSX Licensing Corporation.