Git Product home page Git Product logo

pdp8-tape2bin's Introduction

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 .... ....

pdp8-tape2bin's People

Contributors

mengstr avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

ethandicks

pdp8-tape2bin's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.