Code Monkey home page Code Monkey logo

simh's Issues

IMP interface for ISI and ANTS

Address Name Meaning
170 IMPIVI Interrupt vector, input
174 IMPIVO Interrupt vector, output
164000 IMPSPI DMA input start pointer
164002 IMPEPI DMA input end pointer (ANTS)
164002 IMPBCI DMA input byte count (ISI)
164004 IMPS1I Input status register 1
164006 IMPS2I Input status register 2
164010 IMPSPO DMA output start pointer
164012 IMPEPO DMA output end pointer (ANTS)
164012 IMPBCO DMA output byte count (ISI)
164014 IMPS1O Output status register 1
164016 IMPS2O Output status register 2

Input status register 1

Name Value Meaning
IMPERR 100000 IMP error
NEXMEM 040000 Nonexistent memory
BCEQ0 010000 Byte count = 0
BUYSY 004000 Busy
ENDMSG 000400 End of message
BUFULL 000200 Input buffer full
INTENA 000100 Interrupt enable
NOSWAP 000020 Suppress byte swapping
MEMEX 000006 Memory address extenstion (ISI)

Input status register 2

Name Value Meaning
TSTINC 002000 Test increment
LOCK 001000 Lock interface (don't start when BCI/EPI is loaded)
LOOP 000400 Loop output to input
IMPRDY 000200 IMP master ready
SCOSYN 000001 Scope sync

Output status register 1

Name Value Meaning
NEXMEM 040000 Nonexistent memory
BCEQ0 010000 Byte count = 0
BUSY 004000 Busy
DONE 000200 Done
INTENA 000100 Interrupt enable
NOSWAP 000020 Suppress byte swapping
MEMEX 000006 Memory address extension (ISI)
DISEOM 000001 Disable end of message

Output status register 2

Name Value Meaning
IRESET 000400 Interface reset
HOSRDY 000001 Host master ready

Type 340 scaling & point size

Something seems off with the Type 340 scaling. When the scale register is set to 01, the simulator uses scale factor 2. However some ITS software seem to disagree with this:

  1. TCTYP expects the display to be 80 characters wide. Characters are spaced 7 units apart. 1024/7 is 146, or assuming scale factor 2, 1024/14 is 73.

  2. PEEK mode "D" displays a disk directory and the user can point the light pen to enter a directory. The clicked location in the simulator window doesn't correspond to the right directory.

  3. In MacHack VI, "WHITE TO MOVE" goes off the right edge. And the board lines are slightly wrong.

Documentation available here:
http://bitsavers.org/pdf/dec/graphics/

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.