Jump to content
IGNORED

Thermal printer DSR Hacking help wanted


acadiel

Recommended Posts

On 4/14/2020 at 5:09 PM, Tursi said:

It looks like it's setting the CRU timer to the maximum possible value - maybe initializing a timeout?

 

Not sure why zero CRU bit 3... zeroing bit 0 is probably just to ensure a known starting state. The LDCR will switch to timer mode when bit 0 gets a 1, and then next 14 bits will fill the timer register. The last SBZ exits timer mode and starts counting.

 

Edit: ah, bit 3 is the timer interrupt bit

 

 

Oh yeah.

The timer generates interrupt 3.  So the interrupt handler won't fire, and I guess the device just loops watching for it. 

 

Link to comment
Share on other sites

On what I call the "data" side of the Thermal printer PCB are:

 

U10 SN74LS126AN - "QUADRUPLE BUS BUFFERS WITH 3-STATE OUTPUTS"

U11 SN74LS244N - "Octal Buffers And Line Drivers With 3-State Outputs"

U12 CN36006N 8116 S 1501709-2 - 4K DSR ROM

U13 SN7407N - "HEX BUFFER DRIVER"

U14/U15 2x SN74LS138 - "3 LINE TO 8-LINE DECODER/DEMULTIPLEXER"

 

The Thermal Printer side of the circuit has:

U1/U2/U3 - ULN2003AN - High Voltage, High Current, Darlington Transistor Arrays

U4/U5/U6/U7 4X SN74LS259N - "8 Bit Addressable Latch"

U8 SN74LS (can't read - maybe 122?)

U9 74LS02N - Quadrupule 2-input positive NOR gates

 

  • Like 1
Link to comment
Share on other sites

On 4/14/2020 at 3:12 PM, acadiel said:

Not that I see.  It's just a bunch of logic chips and a 4K DSR ROM (I'm thinking it's a 2532 pinout if I'm not mistaken, so I need to get a 2764 to 2532 adapter.)

 

When I disassembled the 8K ROM image, I noticed that the DSR is only 2K.  And it is pretty well crammed into that 2k window... did TI produce a 2K ROM?  My thought was they created the DSR with 2K in mind but used 4K hardware?

  • Like 1
Link to comment
Share on other sites

2 minutes ago, InsaneMultitasker said:

When I disassembled the 8K ROM image, I noticed that the DSR is only 2K.  And it is pretty well crammed into that 2k window... did TI produce a 2K ROM?  My thought was they created the DSR with 2K in mind but used 4K hardware?

 

I'm going to socket it this weekend and try a 2532 and see if it works.  :)

 

I can only guess - nobody has ever found any schematics or service manual for the TP.  :(

 

Link to comment
Share on other sites

On 4/16/2020 at 1:42 PM, InsaneMultitasker said:

When I disassembled the 8K ROM image, I noticed that the DSR is only 2K.  And it is pretty well crammed into that 2k window... did TI produce a 2K ROM?  My thought was they created the DSR with 2K in mind but used 4K hardware?

 

Do you mean, did they make 2K ROM chips? The TMS4800 was a 2Kx8 mask ROM. The 2516 and 2716 EPROMs offered 2Kx8.

 

According to the 1975 data book, you would deliver your ROM content on punch-cards, encoded in octal digits.

1975   https://archive.org/details/bitsavers_tidataBookorMemoryDataBook_9924035/page/n111/mode/2up/search/2k

 

The 1980 MOS Memory Data Book lists:

2516 2k x 8 EPROM with single +5V supply
2716 2k x 8 EPROM required -5V, +5V, +12V for normal use, but overall a bit less power.
4732 4k x 8 ROM was the smallest ROM. 

1980 https://archive.org/details/bitsavers_tidataBookDataBookforDesignEngineers_5563221

 

 

By 1984, the 2716 was gone, 2516 was still around, and only one power supply was needed by the 2732 and up.

2516 still around
2716 gone. Good riddance.
2732 4k x 8 with single +5V supply

1984   https://archive.org/details/bitsavers_tidataBook984_15352413/page/n11/mode/2up

 

So 2k x 8 was on its way out even in 1980.

 

 

 

Link to comment
Share on other sites

On 4/13/2020 at 7:33 PM, Tursi said:

If you can, give this a try. It looks like the ROM is only 4k, so you may need a 4k EPROM instead of 8k.

 

There seem to be only two places that verify the record length. I changed them to pull the record length from >4001 - so the second byte of the ROM, and set this one to >1E (ie: 30).

 

Beyond that, I can only say it doesn't crash. Classic99 doesn't emulate the hardware of the Thermal Printer nor do I know how it works, so I can't check it formatted the output correctly. But it loads the PAB and then times out gracefully. If the PAB is right, based on what I see above, good chance the rest will be. ;)

TIThermalMod.zip 2.17 kB · 9 downloads

 

The thermal printer mod appears to work when printing a 40 character line from BASIC.  A-Maze-ing also works!

 

 

EAE5A157-E5D0-4AAD-A120-B11CD8B5CE9A.jpeg

60C6D400-A174-4FCB-B674-9047AF03BC43.jpeg

  • Like 2
  • Thanks 1
Link to comment
Share on other sites

9 hours ago, acadiel said:

The thermal printer mod appears to work when printing a 40 character line from BASIC.  A-Maze-ing also works!

 

 

 

60C6D400-A174-4FCB-B674-9047AF03BC43.jpeg

I love this. A*Maze*Ing was my first module.  I can just imagine another childhood containing these tiny printed mazes. (How about a Complex maze?)

Thanks!

 

Link to comment
Share on other sites

12 hours ago, FarmerPotato said:

I love this. A*Maze*Ing was my first module.  I can just imagine another childhood containing these tiny printed mazes. (How about a Complex maze?)

Thanks!

 

An older test I did with narrower paper...

B6B1ED5B-16FD-4569-B573-BB3883DA725A.jpeg

  • Like 1
Link to comment
Share on other sites

  • 7 months later...
On 14/4/2020 at 20:43, acadiel said:

Eccezionale! Grazie! Devo entrare nell'unità della stampante termica delle `` parti '' che ho e capire qual è il pinout della ROM: potrebbe effettivamente essere 4K (su cui posso semplicemente scrivere due volte e collegarmi a una EPROM 8K dopo aver spostato perni.)

 

Non esiste un manuale tecnico sulla stampante termica, quindi cercherò il controller del disco e le piedinature RS232 per le loro ROM DSR per avere un'idea di quali sono i pin quando li sostituisco. Il primo passo sarà inserire una presa dopo aver usato il mio dissaldatore.

 

Pinout RS232 della ROM 4K di Fred:   http://www.ti99-geek.nl/Projects/ti99hdx/Files/RS232_Ram.txt

 

C64B9CDF-D147-4829-8FCE-7E2FFEB623F4.jpeg

B0E13F36-0A7C-43B4-B5CF-52215423BEBF.jpeg

Greatest 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...