how can we create .trd imagedisks with zmakebas and mctrd?

edited April 2014 in Development
hi again!

from a long time i were using zmakebas for converting zxspectrum-basic code from .txt files into .tap files.

now i were trying to work on .trd files via mctrd (command line on linux), and i don't know how to put these tokenized zxspectrum-basic files into there (zxspectrum-basic files named as "boot" or whatever )

any clue? thanks in advance! :)
Post edited by nitrofurano on

Comments

  • edited April 2014
    now, from "zmakebas -h" i'm seeing that, perhaps, i might use something like:
    zmakebas -r -n boot -o boot.B boot.bas
    
    but when copying this file into .trd, i really have no idea if just copying it there is enough, or if some file info attributes, somehow, must be changed - any clue?
  • edited April 2014
    mctrd updated : https://github.com/samstyle/mctrd
    now you can put compiled basic files into .trd and .scl :
    zmakebas -r -o boot.B boot.bas
    mctrd add boot.B image.trd -b -a 10
    
    -b : work with basic file
    -a 10 : autostart from line 10
  • edited April 2014
    thank you a lot! working perfectly! \o/ - btw, this amazingly useful tool really needs to be available at www.worldofspectrum.org/trdos.html (btw, who is taking care of this, here at wos repository? having it officially available here would be really amazing! ) (and also, this tool is so simple and amazing that people (like me? ;) ) could also create gui-based tools based on it, or converting scripts (like running on Nautilus, Caja or Thunar), like from zipped folder formats (.tar, .zip, .7z., etc.) to .trd and back, easing a lot all the process of creating .trd files! )
  • now i'm curious to know how can we do the same on +3 dsk files! :)
Sign In or Register to comment.