loading msx-dos (Emulation MSX Forum)MSX Resource Center MSXdev 2008 - MSX1 development bonanza!              
              
English Nederlands Español Português Russian         
 News
   Frontpage
  News archive
  News topics

 Resources
   MSX Forum
  Articles
  Reviews
  Fair reports
  Photo shoots
  Fairs and meetings
  Polls
  Links
  Search

 Software
   Downloads
  Webshop

 MRC
   Who we are
  Join our team
  Donate
  Policies
  Contact us
  Link to Us
  Statistics

 Search
 
  

  

 Login
 

Username

Password




Don't you have an account yet? Become an MSX-friend and register an account now!.


 Statistics
 

There are 131 guests and 3 MSX friends online

You are an anonymous user.
 

MSX Forum


MSX Forum

Emulation - loading msx-dos

Author

loading msx-dos

flok
msx novice
Posts: 25
Posted: August 06 2008, 18:00   
problem with msx-dos:
I found a .rom file of 64KB in size. It starts with 'ab' so it should be mapper from offset 0x4000
but then I have 16KB which won't fit
where do I map that?
or must i split it in half and then use 2 slots?

I tried splitting in half (since at offset 32768 there's also the 'AB' marker) but then it goes into an infinite loop doing nothing. i also mapped the disk i/o ports to both slot 1 and 2 (the slots in which i put the roms) but that didn't help either

also; will all msx-dos version also run on msx-1? or do i need msx-2 for that? or is there an msx-1 version if required?
hap
msx addict
Posts: 463
Posted: August 06 2008, 18:07   
Mappers use bankswitching.
- http://en.wikipedia.org/wiki/Bank_switching
- http://bifi.msxnet.org/msxnet/tech/megaroms.html

MSX-DOS prior to version 2 works on MSX1 too.
(there's no MSX-DOS1 ROM btw, it only needs MSXDOS.SYS and COMMAND.COM on the disk to boot)
flok
msx novice
Posts: 25
Posted: August 06 2008, 18:41   
With some sort of bootsector i assume?
Does anyone have a .dsk-file with msx-dos1 for me?
none could be found at msxarchive.nl
flok
msx novice
Posts: 25
Posted: August 06 2008, 19:09   
I copied msxdos.sys and command.com to a blank disk-image, then loaded the emulator with the msx disk bios rom inserted but all I get is:

MSX BASIC version 1.0
Copyright 1983 by Microsoft
23432 Bytes free
Disk BASIC version 1.0
Ok
callsystem
Illegal function call
Ok

Jipe
msx freak
Posts: 184
Posted: August 06 2008, 19:24   
is what your emulate system comprises a disk controller because it n' there d' does not have origin on a MSX1
NYYRIKKI
msx master
Posts: 1499
Posted: August 06 2008, 22:55   
Check first, that your disk bios ROM is compatible with the controller you are using and that the controller is connected to correct memory address or I/O space.

If you have PC bootsector your MSX usually hangs on boot. If you format the disk with CALL FORMAT command it will definately install valid MSX-bootsector.

flok
msx novice
Posts: 25
Posted: August 07 2008, 00:44   
The disk bios rom is compatible as I can read/write files as well as list the contents of a disk.
I verified with openmsx (philips vg 8020 + philips vy 0010 and the disk image at http://keetweej.vanheusden.com/~folkert/md1.zip) that my image runs so something is fishy indeed with my emulator. Well, still 2 days vacation left

flok
msx novice
Posts: 25
Posted: August 07 2008, 02:07   
Problem solved!
I was using the disk.rom-file from fMSX which seems to do things that do not work with my emulator. Have to invistigate later on what it is. Anyway, with an other diskrom (FSFD1.ROM) it all runs fine AND boots msx dos 1! So now I can run zexall!
Thanks for all the help people!
NYYRIKKI
msx master
Posts: 1499
Posted: August 07 2008, 11:05   
IIRC fMSX uses not existing Z80 commands to trap disk routines to emulator. Check that there is no weird stuff on #4010 or directly after jump.
 
 







(c) 1994 - 2008 MSX Resource Center Foundation. MSX is a trademark of MSX Licensing Corporation.