Tape to Disk

Page 1/2
| 2

By caver99

Rookie (22)

caver99's picture

03-09-2009, 23:40

I have read a few posts and by the looks of it i have to use the bload and use the header info to save files from tape to disk, my question is how do i get the header info in the first place, i.e. the sdtart and leanth of the binary files.

Also what is involved in making an autobooting floppy?

Login or register to post comments

By djh1697

Paragon (1632)

djh1697's picture

04-09-2009, 11:43

It is not a copyright issue if you have the original tapes, however, the vast majority of MSX games are already converted to DSK format. There are some excellent compaltions around. A DSK image can be easily converted to floppy disk for use on a real MSX.

By RetroTechie

Paragon (1563)

RetroTechie's picture

04-09-2009, 18:33

Unless you have a very specific need to transfer the data on your tape to disk (eg. there's important personal data on there, with no other copy), then it's much easier to just identify the program/game, and grab a disk or rom version from the 'net. Might be illegal where you live, but certainly not unethical if you own the original tape. Note: don't bother to ask for download sources on this forum! (just Google or something)

A copy floating around on the net, might even be a closer match to the original than what you'd pull of your tape after decades. If you don't trust a downloaded copy, you might try and find a few different sources & do a bit-for-bit compare of the files. And/or run it, and try as much (options) of the program as possible (for a game: play at least a few levels). Preferably on a real MSX.

Also what is involved in making an autobooting floppy?
Easy:

  • Format a disk, on the MSX (important: a PC-formatted bootsector might cause the MSX to hang when booting with it)
  • Save an MSX-BASIC program of your choice (like a menu, that runs other programs) under the name "AUTOEXEC.BAS". It will be automagically loaded & started when you boot your MSX with that disk (in drive A).
  • If you want to auto-start something under DOS: copy the MSX-DOS system files (MSXDOS.SYS and COMMAND.COM, or their DOS2 equivalents) to a freshly formatted disk, then create a batch file under the name "AUTOEXEC.BAT". It will be started automagically right after MSX-DOS system files have loaded. The batch file is plain ASCII text, containing any MSX-DOS command(s) you want. You can even create/edit this file with a PC if you wish... Cool

Note to mods: perhaps a merge with the previous thread is in order?
Note to self: try to ignore questions that are answered in TFM :BA:

By NYYRIKKI

Enlighted (5917)

NYYRIKKI's picture

04-09-2009, 21:45

With PEEK after load you can get only BEGIN and START address, but not END address... (Sorry, I don't remember the addresses by hart, but I can check my memos if you need this info)

I'm not next to my MSX and I'm not sure this works with cassette (I've only used this with disk files), but try:

OPEN"CAS:"FORINPUTAS#1:A$=INPUT$(1,1):?"BEGIN: ";HEX$(ASC(INPUT$(1,1))+ASC(INPUT$(1,1))*256):?"END: ";HEX$(ASC(INPUT$(1,1))+ASC(INPUT$(1,1))*256):?"START: ";HEX$(ASC(INPUT$(1,1))+ASC(INPUT$(1,1))*256)

NOTE: If this works, you need to rewind the tape after reading the info...

For autobooting floppy:
If you use BASIC, just format your disk with MSX and save your program as AUTOEXEC.BAS file on the disk.
If you want to use assembler loader, then you can format your disk on PC or MSX, but after formating, place your boot code to bootsector offset #1E (loaded to #C01E)

By Ivan

Ascended (9305)

Ivan's picture

04-09-2009, 22:32

It is not a copyright issue if you have the original tapes, however, the vast majority of MSX games are already converted to DSK format. There are some excellent compaltions around. A DSK image can be easily converted to floppy disk for use on a real MSX.
Type Imágenes CAS de cintas MSX in Google and hit the search button... 1st and 2nd links returned... that's all we need Tongue

By caver99

Rookie (22)

caver99's picture

05-09-2009, 13:34

Ok thanks for that i will try this later.

WHat comands do i use to copy the MSX-DOS.SYS and COMMAND2.SYS to a flopy, plus how do i give the boot sector the MSX-DOS boot sector.

Just to let you know i never got any disks with the system and i think that i might need a MSX-DOS disk, i can write them back to floppy but were would i get on.

Thanks

By caver99

Rookie (22)

caver99's picture

06-09-2009, 17:12

Ok, found a dsk which just booted to msxdos prompt, then formatted a disk conf copied the msxdos.sys and command.com to it now it will boot and i can use the internal commands like a pc easy when you know how.

Is there a manual for msxdos on the net is there a dsmk file for msxdos 1.3 as i think i need to program an eprom to get msxdos2/3 for the system is this right?

By RetroTechie

Paragon (1563)

RetroTechie's picture

06-09-2009, 18:00

Is there a manual for msxdos on the net
The official reference would be the "MSX Technical Data Book" (try here), it includes a section on MSX-DOS (1). There's probably some other good references to be found, but to put it simple: MSX-DOS syntax/operation is very similar to earlier versions (2.xx ~ 3.xx) of MS-DOS. So in many cases you already know it.

i think i need to program an eprom to get msxdos2/3 for the system is this right?
I'm not aware of a MSX-DOS v3.xx, but for MSX-DOS v2.xx, it's a combo of 64K ROM addition (sometimes combined with a disk interface) and the MSXDOS2.SYS / COMMAND2.COM system files on disk.

By caver99

Rookie (22)

caver99's picture

06-09-2009, 19:02

is it possible to blow an eprom with msxdos2/2.2/3 and replace the one inside the msx?

By Manuel

Ascended (18699)

Manuel's picture

06-09-2009, 23:02

Where did you got the idea that MSX-DOS 3 exists? The latest version of the ROM kernel is 2.3 in the turboR.

By caver99

Rookie (22)

caver99's picture

08-09-2009, 21:26

sorry it is msxdos2.2 v3 and downloadable from hrere
{mod: warez}
thats why i was aking if it possible to blow/burn one onto an eprom and swap the ove inside the msx2.

Page 1/2
| 2