Skip to content

Converts PDP8 tape-files into plain binary files

License

Notifications You must be signed in to change notification settings

mengstr/pdp8-tape2bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdp8-tape2bin

Converts a PDP8 bin/rim tape-file into a plain binary file that is suitable to be loaded into the ram/rom/eeprom of a hardware emulator like Logisim or Digital.

./tape2bin.sh <test.bin >test.eep

This is what a hexdump test.eep looks like:

0000000 07 0a 00 00 00 00 00 00 00 00 00 00 00 00 ff 0b
0000010 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
00000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00
0000100 07 0c 80 0e ff 02 08 06 80 0e 08 03 02 0e 94 06
0000110 94 02 fe 02 a8 0f 02 0f 94 02 a0 0f 95 0a fd 02
0000120 26 0c 21 0c 91 0a 84 0a 00 00 94 02 9c 08 80 0e
0000130 94 02 02 0e 9c 08 84 0a 00 00 fc 00 a8 06 a8 02
0000140 fb 00 a8 0f fa 02 a8 02 26 0c 21 0c a5 0a 9c 0b
0000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
00001f0 00 00 00 00 40 00 20 00 3f 00 0d 00 01 00 00 01
0000200 00 00 05 05 d4 04 00 00 ff 0f 3c 0d 00 00 00 00
0000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0002000

Octal dump

This repo also contains a small utility to dump a bin/rim tape file into an octal hexdump-like format that is targeted for PDP-8's.

$ ./tapedump.sh <test.bin
--------------------------------------------- Page 00
0000 - 5007 .... .... .... .... .... .... 5777
0010 - 0400 .... .... .... .... .... .... ....
0170 - .... .... .... .... .... .... .... 0200
--------------------------------------------- Page 01
0200 - 6007 7200 1377 3010 7200 1410 7002 3224
0210 - 1224 1376 7650 7402 1224 7640 5225 1375
0220 - 6046 6041 5221 5204 0000 1224 4234 7200
0230 - 1224 7002 4234 5204 0000 0374 3250 1250
0240 - 0373 7650 1372 1250 6046 6041 5245 5634
0250 - 0000 .... .... .... .... .... .... ....
0370 - .... .... 0100 0040 0077 0015 0001 0400
--------------------------------------------- Page 02
0400 - 0000 2405 2324 0000 7777 6474 .... ....

About

Converts PDP8 tape-files into plain binary files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages