• Please review our updated Terms and Rules here

Transfering .dsk files to floppies (Tiki-100 CP/M)

Overmann

Experienced Member
Joined
Apr 21, 2017
Messages
102
Location
Norway
Hello,

I suppose my issue might be unusual but I am hoping that someone here will be familiar with the norwegian computer Tiki-100.
I just got one but I only have a few floppies with programs. However there is someone who has archived a lot of disks:
http://www.djupdal.org/tiki/program/

They are stored in .dsk format and according to the website I should be able to write them to 5.25" floppies but I am having no luck. I've got a lot of NOS 5.25" 360kb floppies and several old computers with 5.25" drives but I've not been able to find a program that will let me write the TIKI .dsk to real floppies using either DOS or Windows. I've tried winimage, fdimage.exe and rawwrite but alltough rawwrite managed to write to the disk without errors the disk was unreadable by the TIKI.

Does anyone have any suggestions as to what I can do?
 
The Tiki .dsk file should be the same as a .RAW (Sector Dump) of the Floppy. I have the following .zip
files for the Tiki:

Code:
  94695 Jun  2  2018 Kryssord_Generator.zip
 192197 Jun  2  2018 wordstar.zip
 248127 Jun  2  2018 kermit.zip
 243890 Jun  2  2018 Turbo_Pascal_v3_001a.zip
 161519 Jun  2  2018 Turbo_Pascal_v2_00a.zip
 120496 Jun  2  2018 Eksempler_(Tiki-Comal_Basic).zip
 489091 Jun  2  2018 wcsys.zip
 475849 Jun  2  2018 tkjer401.zip
 543167 Jun  2  2018 tikos20.zip
 260420 Jun  2  2018 tiko208r-200k.zip
 269031 Jun  2  2018 kpm117.zip
 253178 Jun  2  2018 kpm115.zip
 161225 Jun  2  2018 kpm11.zip
 126056 Jun  2  2018 dbase_II_v2_4.zip
 296981 Jun  2  2018 tiko208r-400k.zip

and the following .IMD files (Dave Dunfield's Imagedisk ver 1.18):
Code:
 200078 Jun  2  2018 KERMIT.IMD
  49844 Jun  2  2018 KRYSSO.IMD
  70928 Jun  2  2018 KOMMUN.IMD
 108231 Jun  2  2018 WORDSTAR.IMD
  86125 Jun  2  2018 TPAS_V2.IMD
  93279 Jun  2  2018 EKSEMP.IMD
 199056 Jun  2  2018 TPAS_V3.IMD
 133781 Jun  2  2018 TIKI_BAS.IMD
 133781 Jun  2  2018 TKI_BAS.IMD
  75394 Jun  2  2018 DBASE24.IMD
 331650 Jun  1  2018 WCSYS.IMD
 329361 Jun  1  2018 TKJER401.IMD
 182837 Jun  1  2018 KPM115.IMD
 186925 Jun  1  2018 KPM117.IMD
 148600 Jun  1  2018 KPM11.IMD
 358488 Jun  1  2018 TIKOS20.IMD
 201611 Jun  1  2018 TIKO208R-400K.IMD
 196123 Jun  1  2018 TIKO208R-200K.IMD

I have the following information in a file that might be helpful.
The TIKI disk files were created with ANADISK for MS-DOS by using the sector dump feature
to dump the sectors.

-rw-r--r-- 1 larry larry 204800 Jan 25 2001 kpm11.dsk
-rw-r--r-- 1 larry larry 204800 Jan 10 2001 kpm115.dsk
-rw-r--r-- 1 larry larry 204800 Sep 14 2003 kpm117.dsk
-rw-r--r-- 1 larry larry 204800 Jan 28 2001 tik200.dsk
-rw-r--r-- 1 larry larry 409600 Jan 28 2001 tik400.dsk
-rw-r--r-- 1 larry larry 409600 Jan 28 2001 tikos20.dsk
-rw-r--r-- 1 larry larry 409600 Aug 26 2000 tkjer401.dsk
-rw-r--r-- 1 larry larry 819200 Jan 10 2001 wcsys.dsk

I tried RAWRITE and other utilities, but couldn't get the Images written with my DOS 7.1
Computer. So, I tried creating IMD files with the Imagedisk Utility BIN2IMD from
DOSBox on my Linux Laptop.


REF: http://www.vcfed.org/forum/showthread.php?49761-Old-PC-Floppy-images/page2

RAW to .IMD format:
You can convert raw sector images to ImageDisk using the following commands:
Code:

160k raw to imd: (163,840 bytes)
BIN2IMD <image.img> <image.imd> DM=5 N=40 SS=512 SM=1-8 /1

180k raw to imd: (184,320 bytes)
BIN2IMD <image.img> <image.imd> DM=5 N=40 SS=512 SM=1-9 /1

320k raw to imd: (327,680 bytes)
BIN2IMD <image.img> <image.imd> DM=5 N=40 SS=512 SM=1-8 /2

360k raw to imd: (368,640 bytes)
BIN2IMD <image.img> <image.imd> DM=5 N=40 SS=512 SM=1-9 /2

1.2mb raw to imd: (1,228,800 bytes)
BIN2IMD <image.img> <image.imd> DM=3 N=80 SS=512 SM=1-15 /2

720k (3.5") raw to imd: (737,280 bytes)
BIN2IMD <image.img> <image.imd> DM=5 N=80 SS=512 SM=1-9 /2

1.44mb raw to imd: (1,474,560 bytes)
BIN2IMD <image.img> <image.imd> DM=3 N=80 SS=512 SM=1-18 /2

Create *.IMD files to write with IMD:
BIN2IMD KPM11.DSK KPM11.IMD DM=5 N=40 SS=512 SM=1-10 /1
BIN2IMD KPM115.DSK KPM115.IMD DM=5 N=40 SS=512 SM=1-10 /1
BIN2IMD KPM117.DSK KPM115.IMD DM=5 N=40 SS=512 SM=1-10 /1
BIN2IMD TIK200.DSK TIK200.IMD DM=5 N=40 SS=512 SM=1-10 /1
BIN2IMD TIK400.DSK TIK400.IMD DM=5 N=40 SS=512 SM=1-10 /2
BIN2IMD TIKOS20.DSK TIKOS20.IMD DM=5 N=40 SS=512 SM=1-10 /2
BIN2IMD TKJER401.DSK TKJER401.IMD DM=5 N=40 SS=512 SM=1-10 /2
BIN2IMD WCSYS.DSK WCSYS.IMD DM=5 N=80 SS=512 SM=1-10 /2


Create .RAW Images with IMDU (to VERIFY with .DSK Images)

IMDU KPM11.IMD KPM11.RAW /B /E /D > KPM11.TXT
IMDU KPM115.IMD KPM115.RAW /B /E /D > KPM115.TXT
IMDU KPM117.IMD KPM115.RAW /B /E /D > KPM117.TXT
IMDU TIK200.IMD TIK200.RAW /B /E /D > TIK200.TXT
IMDU TIK400.IMD TIK400.RAW /B /E /D > TIK400.TXT
IMDU TIKOS20.IMD TIKOS20.RAW /B /E /D > TIKOS20.TXT
IMDU TKJER401.IMD TKJER401.RAW /B /E /D > TKJER401.TXT
IMDU WCSYS.IMD WCSYS.RAW /B /E /D > WCSYS.TXT


larry@debian:~/IMDs/tiki$ ls -alt *.RAW
-rw-r--r-- 1 larry larry 204800 Jun 1 18:10 KPM11.RAW
-rw-r--r-- 1 larry larry 204800 Jun 1 18:11 KPM115.RAW
-rw-r--r-- 1 larry larry 204800 Jun 1 18:10 KPM117.RAW
-rw-r--r-- 1 larry larry 204800 Jun 1 12:40 TIK200.RAW
-rw-r--r-- 1 larry larry 409600 Jun 1 12:51 TIK400.RAW
-rw-r--r-- 1 larry larry 409600 Jun 1 12:51 TIKOS20.RAW
-rw-r--r-- 1 larry larry 409600 Jun 1 18:11 TKJER401.RAW
-rw-r--r-- 1 larry larry 819200 Jun 1 18:12 WCSYS.RAW

The .RAW images can be accessed with cpmtools with the proper definitions.

New CPMTOOLS definitions require the following information:

diskdef title
seclen xxx #= Sectors xx,1024
tracks xx #= (Cylinders * Sides) = 80*2 = 160
sectrk xx #= Sectors 5,xxx
blocksize xxxx #= (128*(BLM+1)) = 2048
maxdir xxx #= (DRM+1) = 256
skew x #= may be 1 thru 6, or so
boottrk x #= OFS = 2
os x.x #= 2.2, or 2, or 3
end

New LIBDSK definitions require the following information:

[title]
description = DESC The description of the format as shown by (for example) dskform–help.
sidedness =TREATMENT How a double-sided disk is handled. This can either be alt
(sides alternate – used by most PC-hosted operating systems),
outback (use side 0 tracks 0-79, then side 1 tracks 79-0 – used
by 144FEAT CP/M disks), or outout (use side 0 tracks 0-79, then
side 1 tracks 0-79 – used by some Acorn formats). If the disk is
single-sided, this parameter can be omitted.
cylinders = COUNT Sets the number of cylinders (usually 40 or 80).
heads = COUNT Sets the number of heads (usually 1 or 2 for single- or double- sided).
sectors = COUNT Sets the number of sectors per track.
secbase = NUMBER Sets the first sector number on a track. Usually 1; some Acorn formats use 0.


secsize = COUNT Sets the size of a sector in bytes. This should be a power of 2.
datarate = VALUE Sets the rate at which the disk should be accessed. This is: HD, DD, SD or ED.
rwgap = VALUE Sets the read/write gap.
fmtgap = VALUE Sets the format gap.
fm = Y or N Sets the recording mode - Y for FM, N for MFM.
multitrack = Y or N Sets multitrack mode.
skipdeleted = Y or N Sets whether to skip deleted data.


The LIBDSK Data rate will be one of:
RATE_HD, /* Rate for High-density disc - 1.2Mb in 5.25" 96 tpi drive, or 1.44Mb in 3.5" 96 tpi drive */
RATE_DD, /* Rate for Double-density disc - 360k in 5.25" 48 tpi drive, or 720K in 3.5" 48 tpi drive */
RATE_SD, /* Rate for Double-density disc - 180k in 5.25" 48 tpi drive, or 360k in 3.5" 48 tpi drive */
RATE_ED /* Data rate for 2.8Mb 3.5" in 3.5" 96 tpi drive */


The libdsk definitions must be inserted into the /home/user/.libdskrc file, and the cpmtools diskdefs file.


UPDATED Definitions for cpmtools & libdsk:

NOTE TIKI-100 DEFINISJONER FOR 22DISK
NOTE ASBJØRN DJUPDAL, JØRN E. HAUGAN (TIK4)
NOTE TIK1 (90K) ER IKKE TESTET!
NOTE 09-JAN-2001
NOTE cpmtools & libdsk by LARRY KRAEMER
NOTE 06-01-2018

BEGIN TIK1 TIKI-100, 90K - SSSD 48 tpi 5.25" - 128 x 18
DENSITY FM, LOW
CYLINDERS 40 SIDES 1 SECTORS 18,128 LABEL TIK1
SIDE1 0 1,6,11,16,3,8,13,18,5,10,15,2,7,12,17,4,9,14
BSH 3 BLM 7 EXM 0 DSM 82 DRM 31 AL0 080H AL1 0 OFS 3
END

# TIK1 TIKI-100 90K - SSSD 48 tpi 5.25" - 128 x 18
diskdef tik1
seclen 128
tracks 40
sectrk 18
blocksize 1024
maxdir 32
skew 5
boottrk 3
os 2.2
end

[tik1]
description = TIK1 TIKI-100 90K - SSSD 48 tpi 5.25" - 128 x 18
cylinders = 40
heads = 1
secsize = 128
sectors = 18
secbase = 1
datarate = SD

BEGIN TIK2 TIKI-100, 200K - SSDD 48 tpi 5.25" - 512 x 10
DENSITY MFM, LOW
CYLINDERS 40 SIDES 1 SECTORS 10,512 SKEW 2 LABEL TIK2
SIDE1 0 1,2,3,4,5,6,7,8,9,10
BSH 3 BLM 7 EXM 0 DSM 189 DRM 63 AL0 0C0H AL1 00H OFS 2
END

# TIK2 TIKI-100 200K - SSDD 48 tpi 5.25" - 512 x 10
diskdef tik2
seclen 512
tracks 40
sectrk 10
blocksize 1024
maxdir 64
skew 1
boottrk 2
os 2.2
end

[tik2]
description = TIK2 TIKI-100 200K - SSDD 48 tpi 5.25" - 512 x 10
cylinders = 40
heads = 1
secsize = 512
sectors = 10
secbase = 1
datarate = DD

BEGIN TIK3 TIKI-100, 400K - DSDD 48 tpi 5.25" - 512 x 10
DENSITY MFM, LOW
CYLINDERS 40 SIDES 2 SECTORS 10,512 SKEW 2 LABEL TIK3
SIDE1 0 1,2,3,4,5,6,7,8,9,10
SIDE2 1 1,2,3,4,5,6,7,8,9,10
ORDER SIDES
BSH 4 BLM 15 EXM 1 DSM 194 DRM 127 AL0 0C0H AL1 00H OFS 2
END

# TIK3 TIKI-100 400K - DSDD 48 tpi 5.25" - 512 x 10
diskdef tik3
seclen 512
tracks 80
sectrk 10
blocksize 2048
maxdir 128
skew 1
boottrk 2
os 2.2
end

[tik3]
description = TIK3 TIKI-100 400K - DSDD 48 tpi 5.25" - 512 x 10
sides = alt
cylinders = 80
heads = 2
secsize = 512
sectors = 10
secbase = 1
datarate = DD

BEGIN TIK4 TIKI-100, 800K - DSDD 96 tpi 5.25" - 512 x 10
DENSITY MFM, LOW
CYLINDERS 80 SIDES 2 SECTORS 10,512 SKEW 2 LABEL TIK4
SIDE1 0 1,2,3,4,5,6,7,8,9,10
SIDE2 1 1,2,3,4,5,6,7,8,9,10
ORDER SIDES
BSH 4 BLM 15 EXM 0 DSM 394 DRM 127 AL0 0C0H AL1 00H OFS 2
END

# TIK4 TIKI-100 800K - DSDD 96 tpi 5.25" - 512 x 10
diskdef tik4
seclen 512
tracks 160
sectrk 10
blocksize 2048
maxdir 128
skew 1
boottrk 2
os 2.2
end

[tik4]
description = TIK4 TIKI-100 800K - DSDD 96 tpi 5.25" - 512 x 10
sides = alt
cylinders = 160
heads = 2
secsize = 512
sectors = 10
secbase = 1
datarate = DD


Directory Listings Using the Ampro Definitions:

cpmls -f amp1 KPM11.RAW
0:
120.com
160.com
40.com
80.com
80adm.com
demo.tik
edit.com
farge.tik
install.com
kat.com
kon.tik
kopi.com
kpmkopi.com
les.meg
nypla-ed.com
nyplate.com
py.tik
pyton.com
r]kop-ed.com
r]kopi.com
sett.com
test.tik
tiki.com

cpmls -f amp1 KPM115.RAW
0:
120.com
120x.com
160.com
40.com
40x12.com
80.com
80adm.com
80inf.com
80mon.com
80x.com
demo.tik
edit.com
install.com
kat.com
kon.tik
kopi.com
kpm11.sys
kpmkopi.com
les.meg
mon-130.com
nypla-ed.com
nyplate.com
par-revb.asm
par-revb.pdr
py.tik
pyton.com
r]kop-ed.com
r]kopi.com
sett.com
sjakk.com
test.tik
tiki.com
tit.com
utf\r.com

cpmls -f amp1 KPM117.RAW
0:
120.com
160.com
160x.com
40.com
40x12.com
72i.com
80.com
80adm.com
80inf.com
80mon.com
80x.com
defterm.com
demo.tik
edit.com
install.com
kat.com
kon.tik
kopi.com
kpm117.sys
kpmkopi.com
les.meg
meny.com
meny.txt
menybig.txt
netp-p1.com
netp-p2.com
nyplate.com
plater.std
py.tik
pyton.com
r]kopi.com
sett.com
sjakk.com
terminal.com
test.tik
tiki.com
utf\r.com


cpmls -f amp2 -d TKJER401.RAW
KOPI COM : KAT COM : 80 COM : 40 COM
40X12 COM : 72I COM : NYPLATE COM : R]KOPI COM
MENY COM : INSTALL COM : TDV COM : ! COM
PLATER BAK : 80ADM COM : 120 COM : 160 COM
80INF COM : 80MON COM : 80X COM : TDVDEF COM
PALETT COM : PYTON COM : PLATER STD : PALETT DAT
INFO TEX : ROBOT COM : SJAKK COM : TIKOKOPI COM
UTF\R COM : 160X COM : SETT COM : MENY TXT
EDIT COM : TIKO200B SYS : TIKOAB SYS : LES MEG
VIKTIG TXT : ROBOT DOC : SCANDIS COM : DYR FNT
IBM COM : LESMEG COM : BASIC TXT : ANIMAL BBB
FRAND2 BBB : ROTHUS BBB : FRAND0 BBB : PIANO BBB
ENVELOPE BBB : ANIMAL DAT : FARGER BBB : UR BBB
SINUS BBB : SINC BBB : ICOS2 BBB : SOL BBB
FRAND1 BBB : SLAGER BBB : MERGE BBB : SINC2 BBB
ISINC BBB : SIRKEL BBB : FLATE2 BBB : DYR BBB
ASEMBLY BBB : FINDEX BBB : ADDRESS DTA : BASIC COM
UNLIST COM : NAME NDX : KAT COM

cpmls -f amp2 -d WCSYS.RAW
KOPI COM : KAT COM : 80 COM : 40 COM
40X12 COM : 72I COM : NYPLATE COM : R]KOPI COM
MENY COM : INSTALL COM : PLATER STD : ! COM
MENY TXT : 80ADM COM : 120 COM : 160 COM
80INF COM : 80MON COM : 80X COM : TDV COM
PALETT COM : PYTON COM : MENY SYS : TDVDEF COM
PALETT DAT : INFO TEX : SJAKK COM : SCANDIS COM
TIKOKOPI COM : UTF\R COM : 160X COM : SETT COM
ROBOT COM : LES MEG : EDIT COM : WD200C SYS
IBM COM : WD400C SYS : ROBOT DOC : LESMEG COM
HARDLES TXT : DYR FNT : BASIC TXT : ANIMAL BBB
FRAND2 BBB : ROTHUS BBB : FRAND0 BBB : PIANO BBB
ENVELOPE BBB : ANIMAL DAT : FARGER BBB : UR BBB
SINUS BBB : SINC BBB : ICOS2 BBB : SOL BBB
FRAND1 BBB : SLAGER BBB : MERGE BBB : SINC2 BBB
ISINC BBB : SIRKEL BBB : FLATE2 BBB : DYR BBB
ASEMBLY BBB : FINDEX BBB : ADDRESS DTA : BASIC COM
UNLIST COM : NAME NDX


Extract a file to verify it is SANE.

$cpmcp -f amp2 tikos20.dsk 0:VIKTIG.TXT .


KOPIERING AV 200K DISKETTER

De fleste programmer leveres p} 200K disketter. Av praktiske grunner
anbefaler vi at disse kopieres over til 400K disketter.
For } kopiere fra 200K disketter til 400K disketter g}r en fram
p} f|lgende m}te:

Med en disketstasjon:

* Formater en ny 400K diskett ved hjelp av NYPLATE (Valg M i menyen).

* Sett inn TIKO KJERNE disketten. Tast A for } avslutte menyen.

* Skriv: Install tikoab.sys Trykk RETUR-tasten.

* Velg G (oppdater hukomelsen) i INSTALL-menyen. Trykk RETUR to ganger.

* Avslutt programmet med X

* N} er stasjonen midlertidig instalert slik at maskinen n}r du har
tegnet a>> venter } finne en 400K diskett, mens den n}r du har tegnet
b>> p} skjermen venter } finne en 200K diskett i diskettstasjonen.

* N}r skjermen viser klartegnet a>> skriver du: Kopi a:=b:*.* -W <RETUR>

* Det er viktig } skrive -w til slutt. Det lar deg stoppe og bytte
mellom 200k og 400K disketten n}r du kopierer.

* Du blir spurt om } sette inn fraplate. Sett inn 200K disketten du
skal kopiere fra og trykk <RETUR>

* Sett inn den formaterte 400K disketten og trykk <RETUR> n}r du blir
spurt om } sette inn tilplate.

* Slik fortsetter du helt til disketten er ferdig kopiert.

Hvis du har to diskettstasjoner kan du bruke oppskriften i APPENDIX A2
i INSTRUKSJONSBOK for TIKI-100. Bytt ut ordet 800K med 400K.

I have the Tiki Site where I downloaded the files saved on my old laptop. I'll power it up
and get the URL. http://inhale.ed.ntnu.no/oldtech/tiki/disks/ http://inhale.ed.ntnu.no/oldtech/

If you don't have cpmtools or cpmtools built with libdsk you might want to consider installing it.
Dunfield's Imagedisk (IMD) should be able to write the .IMD files to Floppy's with an OLD DOS
machine. If you have libdsk installed the dsktrans utility will also write a floppy.

A tutorial for cpmtools & libdsk is on the Debian Fourm at:
http://forums.debian.net/viewtopic.php?f=16&t=112244


If I can be of help, just let me know.

Thanks.

Larry
 
Last edited:
Thank you Larry!
This is a LOT of information. I'll have to see if I can put it to use and get some software onto my empty floppies. This is be a tad more technical then I'm used to but, I'll start with imagedisk and work my way up from there :)
 
Old thread, but still useful. Thanks!
I had some images to test today:
Code:
tingo@kg-core2$ cpmls -f tik2 -l images/525-tiki_100_200k_ss_Tiki-Invaders.img
0:
-rw-rw-rw-       0 Jan 01 1970  $$$.sub
-rwxrwxrwx    5504 Jan 01 1970  40.com
-rwxrwxrwx   30720 Jan 01 1970  invader.com
-rwxrwxrwx       0 Jan 01 1970  kat.com
-rwxrwxrwx       0 Jan 01 1970  kopi.com
-rw-rw-rw-     128 Jan 01 1970  tekst.sub
-rwxrwxrwx    1792 Jan 01 1970  utf\r.com
and a 400k one, just for fun
Code:
tingo@kg-core2$ cpmls -f tik3 -l images/525-tiki_100_400k_Turbo-Pascal_version_3.01a.img
0:
-rwxrwxrwx    5504 Jan 01 1970  80.com
-rwxrwxrwx    8320 Jan 01 1970  cmdlin.com
-rw-rw-rw-     768 Jan 01 1970  cmdlin.pas
-rwxrwxrwx   18048 Jan 01 1970  demog1.com
-rw-rw-rw-    8192 Jan 01 1970  demog1.pas
-rwxrwxrwx   12800 Jan 01 1970  demog2.com
-rw-rw-rw-    1408 Jan 01 1970  demog2.pas
-rw-rw-rw-    6784 Jan 01 1970  les.meg
-rwxrwxrwx     256 Jan 01 1970  lesmeg.com
-rw-rw-rw-   16384 Jan 01 1970  libg.doc
-rw-rw-rw-   15360 Jan 01 1970  libg.inc
-rwxrwxrwx    9600 Jan 01 1970  lister.com
-rw-rw-rw-    5632 Jan 01 1970  lister.pas
-rw-rw-rw-    1024 Jan 01 1970  mc-mod00.inc
-rw-rw-rw-    1792 Jan 01 1970  mc-mod01.inc
-rw-rw-rw-    3328 Jan 01 1970  mc-mod02.inc
-rw-rw-rw-    4608 Jan 01 1970  mc-mod03.inc
-rw-rw-rw-    8960 Jan 01 1970  mc-mod04.inc
-rw-rw-rw-   11264 Jan 01 1970  mc-mod05.inc
-rwxrwxrwx   21632 Jan 01 1970  mc.com
-rw-rw-rw-    4736 Jan 01 1970  mc.hlp
-rw-rw-rw-    6528 Jan 01 1970  mc.pas
-rw-rw-rw-   11904 Jan 01 1970  mcdemo.mcs
-rwxrwxrwx   25472 Jan 01 1970  tinst.com
-rw-rw-rw-    4480 Jan 01 1970  tinst.dta
-rw-rw-rw-    3968 Jan 01 1970  tinst.msg
-rwxrwxrwx   30720 Jan 01 1970  turbo.com
-rw-rw-rw-    1536 Jan 01 1970  turbo.msg
-rw-rw-rw-    1152 Jan 01 1970  turbo.ovr
.
 
Back
Top