Thread: HOWTO: TRS-80 Model 1, 3, &4 Emulator - Ubuntu
this howto: guide through process of getting david keil's
trs80 (model3 & 4) or trs81 (model 1) emulator running in ubuntu 10.04
under dosbox.
prework:
1. purchase emulator , have in mail before proceeding.
emulator provided by, , purchased $10.00 from:
david keil
p.o. box 143
alma center, wi 54611
worth modest price asking......
david's website no longer in service.
2. install dosbox via synaptics package manager
need install dosbox in ubuntu using synaptics or apt-get.
ref:
http://www.dosbox.com
http://dosbox.sourceforge.net/wiki
3. copy complete emulator subdirectory cdr /home/loginuser directory
copy complete folder trsdos cdr /home/loginuser
4. dosbox - command summary
following commands can used in dosbbox:
intro
intro mount
intro cdrom
intro special
help
/all
cntl f11 slow down emulation - decrease dosbox cycles
cntl f12 speed emulation - increase dosbox cycles
alt-enter go full screen & back
there several special commands shown on screens.
5. trs80 - command summary
following 3 commands apply montezuma micro cp/m:
f1 dir a:
f2 dir b:
f3 dir m:
f5 key brings 'configuration screen'.
shift f5 key shell dos.
f6 key toggles 1, 2, 4, 8 mhz
shift f6 locks speed @ current setting.
f7 key save snapshot of trs-80 system.
shift f7 key load snapshot of trs-80 system allowing to
continue running trs-80 program after exiting emulator. save game feature.
added ability load & execute /cmd files directly pc directory
use shift f7 bring "load snapshot" window use f1 toggle
load /cmd options
f9 bring virtual drive status screen. screen you
can insert, remove , change virtual disks.
shift f9 selects virtual hard disk selection screen.
in virtual drive selection screens have changed.
pushing insert brings window entry of path+filename of a
virtual disk mounted in selected drive.
pushing enter brings point & shoot screen selecting virtual disk mounted in selected drive. (same before)
pushing numbers 0-3 selects corresponding drive.
pushing shift-tab selects previous drive.
f10 reset emulator (same cntl c in cp/m)
shift f10 exits if cpu stopped.
f11 selects virtual cassette selection screen.
shift f11 selects audio/wave cassette selection screen.
f12 stops & single steps z80 cpu.
shift f12 stops , restarts z80 cpu.
6. testing dosbox commands , methods.
let's use example guide commands need to
use mount , unmount directory.
had several recipes saved in c:\pw\2_ldk\cookin on an
old dos machine. copied complete c:\pw folder /home/larry/c:/.
folder mounted c: drive in dosbox exe, com, or bat
files can executed. mount c: drive, use mount
command mount linux folder c , change drive c:\> and
execute old dos program.
executed dosbox ubuntu menu.
start dosbox via:
applications -> games -> dosbox
when dosbox window opened typed following mount subdirectory drive c. so, when change drive c,
pointing @ /home/larry/pw
dosbox positions @ drive z:
from within pw used normal program exit.code:mount c ~/c: c: dir/p cd pw pw
before can unmount drive must change drive z:
can issue unmount command.
unmount c: , exit dosbox use following commands:
code:z: mount -u c exit
locate .dsk or .dmk (newdos, dosplus, ldos, trsdos, ultrados, multidos, or montezuma micro cp/m) os files use:
(if using montezuma micro 2.31 cp/m, use tim mann's mkdisk reset write protect attribute of file, you
can use config change drive parameters , save settings. if don't change file unprotected, won't
able save parameters settings won't survive reboot. if using newdos , want use pdrive
command need use tim's mkdisk allow pdrive command write changes.
typical pdrive commands are:
pdrive,0 //this display current settings
pdrive,0,1=4,a //this change drive 1 displayed drive 4 settings , make effective immediately
pdrive,0,1=2,a //this change drive 1 displayed drive 2 settings , make effective immediately
these parameters allow read model 1 floppy in trs-80 model iii or model 4)
code:mkdisk -u -k filename.dmk mkdisk -u -k mmcpm231.dsk mkdisk -u -k nd80-m1.dsk
7. running trs80 (model 3 & model 4 emulator) or trs81 (model 1 emulator)
start dosbox via:
applications -> games -> dosbox
dosbox come , on drive z:
(type following commands adjusting specific emulator.)
(i copied monetzuma micro cp/m dsk file trsdos subdirectory. have usedcode:mount c trsdos c: dir /p trs80 mmcpm321.dsk
trs80, , used f9 select drive, , os used on drive, , used f10
read disk's information , reset emulator.)
use cntl f12 increase cycles around 9k or 10k "dir b:" command in cp/m, or "dir :0"
command in trsdos acts real trs-80 model 4.
montezuma micro ver 2.3.1 come running.
oh my, formatting disk takes 30 seconds, , booting less 30 seconds.........
ole days....and cpu speeds 2 mhz 64 or 128 meg ram. wow!
use f9 configure dsk file view in drive :1
use f10 reset system
use pip transfer couple of files drive m:. (pip destdrive:=sourcedrive:filename.*)
f1 dir a:code:pip m:=a:mdm730*.*
f2 dir b:
f3 dir m:
f5 key brings 'configuration screen'.
shift f5 key shell dos.
f6 key toggles 1, 2, 4, 8 mhz
shift f6 locks speed @ current setting.
f7 key save snapshot of trs-80 system.
shift f7 key load snapshot of trs-80 system allowing to
continue running trs-80 program after exiting emulator. save game feature.
added ability load & execute /cmd files directly pc directory
use shift f7 bring "load snapshot" window use f1 toggle
load /cmd options
f9 bring virtual drive status screen. screen you
can insert, remove , change virtual disks.
shift f9 selects virtual hard disk selection screen.
in virtual drive selection screens have changed.
pushing insert brings window entry of path+filename of a
virtual disk mounted in selected drive.
pushing enter brings point & shoot screen selecting virtual
disk mounted in selected drive. (same before)
pushing numbers 0-3 selects corresponding drive.
pushing shift-tab selects previous drive.
f10 reset emulator (same cntl c in cp/m)
shift f10 exits if cpu stopped.
f11 selects virtual cassette selection screen.
shift f11 selects audio/wave cassette selection screen.
f12 stops & single steps z80 cpu.
shift f12 stops , restarts z80 cpu.
so, whole world of cp/m, trsdos, ldos, newdos along others now
available work or play. sure check out dup, , config, in montezuma micro cp/m
, other nice utilities cp/m , trsdos days in 1980's.
config can read , write format available @ time.
when finished emulator use shift f10 exit. need to
unmount subdirectory , exit terminal window. here commands
if dosbox doesn't terminate properly, open terminal window , use topcode:z: mount -u c exit
command find dosbox process id number. assume 4790. use cntl c stop the
top command , use kill -9 4790 terminate dosbox.
cntl ccode:top
code:kill -9 4790
how copy old 5.25" floppy's using catweasel pci card:
catweasel mk4 plus multi-format floppy disk controller pci card can
plugged spare pci slot, , used terminal window in ubuntu.
plugged mine in desktop running 8.04.4 lts.
catweasel features:
read/write real amiga floppy disk's on windows pc
use real amiga keyboard on pc
use real amiga mouse/joystick on pc
ideal winuae , amiga forever - transfer amiga floppies on pc
empty sid chip socket realistic c64 sound emulation
third party support
catweasel mk4 drivers classic amiga available:
multidisk v3.65 uses openpci access controller through prometheus pci busboard.
third party driver support linux 2.6 available
third party driver support amigaos 4.1 available (limited)
third party driver support aros available
purchased catweasel from:
http://amigakit.leamancomputing.com/...roducts_id=842
tim mann has nice website support cp/m , trs-80 floppy disks at:
http://www.tim-mann.org/trs80.html
http://www.tim-mann.org/catweasel.html
tim's website can download catweasel floppy read/write tools, version 4.4
cw2dmk-4.4.zip or cw2dmk-4.4.tar.gz , extract folder containing files for
version 4.4.
linux:
within desktop running ubuntu 8.04, opened terminal window, , used following commands:
to copy trs-80 floppy disks dmk image format used emulators.code:cd ~ cd cw2dmk-4.4 sudo ./cw2dmk -v1 trstst01.dmk sudo ./cw2dmk -v1 trstst02.dmk sudo ./cw2dmk -v1 trststxx.dmk
windows:
there windows drivers on catweasel cdr along other software, haven't
looked far.
warning - unapproved method:
1 caution here if floppy disk's 25+ years old mine were, the
oxide coating on of floppy's ready fail, , may ruin them trying
read them. (you may find tiny bit of alcohol placed on cotton swab will
totally remove oxide coating platter making unreadable, don't
try alcohol cleaner or lubricant floppy's.) also, inner lining of the
old floppy's have lost lubricating ability becoming dry on years, , this
causes drag on heads platter tries spin read heads can recover data.
chose use lubricant kano labs in nashville, tn called aerosol "silikroil" lubricate
floppy's. able recover 85% of disks using totally unapproved method.
ruined first 4-5 disks trying read them. costly error!
http://www.kanolabs.com
silikroil industrial penetrating lubricant works wonders, , doesn't remove
oxide coating alcohol , silicone does. alcohol can used clean floppy
drives read heads usual.
copying ampro ds/dd disks - using real bootable ampro system
since had catweasel installed, , had 26 ampro disks in mix-n-match of
ss/ds & ds/dd, wanted try , save information these 5.25" disks.
read each disk several times catweasel card making multiple attempts
@ reads. examples disk #8 are:
this gave me option of trying more once @ recovering files multiplecode:sudo ./cw2dmk adsdd008.dmk sudo ./cw2dmk adsdda08.dmk sudo ./cw2dmk adsddb08.dmk sudo ./cw2dmk adsddc08.dmk sudo ./cw2dmk adsddd08.dmk
reads found different sectors bad successive sequential reads. step very
valuable proceeded.
since had system contained 2 5.25" teac 360k drives, booted ampro ss/dd cp/m
system disk , used amprodsk format fresh ds/dd disk, , used sysgen copy system.
next used nsweep copy files. have bootable ds/dd boot system disk.
next used catweasel write first disk 08 image (adsdd008.dmk) fresh floppy with:
i inserted disk in drive after running nsweep. nsweep used log new disk,code:sudo ./dmk2cw adsdd008.dmk
, copy purged ds/dd cp/m disk. if file copying had bad sectors specific
file names, made note of errors attempt #2 using adsdda08.dmk, third
attempt using adsddb08.dmk........etc.
when files copied used catweasel create new image of disk,
renaming adsdd008.dmk with:
then, repeated process 26 disks had saved...........code:sudo ./cw2dmk adsdd008.dmk
unfortunately, disks 1, 2, &3 ruined in process, gave me unapproved
method noted above.
when disks had been gone through burned dvd of images, each disks'
images in separate folder in case needed try , recover file @ later date.
method should work on cp/m system, such kaypro ii or iv, ampro,
trs-80 model 1, 3, & 4, or using virtual disks in emulator.
want use 3.5" drives old computer - see attached pdf's!
pm me if have questions, or need help.
lk
Forum The Ubuntu Forum Community Other Discussion and Support Tutorials Outdated Tutorials & Tips HOWTO: TRS-80 Model 1, 3, &4 Emulator - Ubuntu
Ubuntu
Comments
Post a Comment