Page 1 of 1

Disable the 80 column card using code

Posted: Fri Nov 24, 2023 5:50 pm
by Lardo Boffin
Hello!

Does anyone know how to disable the 80 column card using machine code?

Basically I am developing using Borland Turbo Pascal in 80 column mode but want the software I am writing to run in 40 column mode without having to exit to DOS and press keys to switch manually.

Thanks!

Re: Disable the 80 column card using code

Posted: Sat Nov 25, 2023 4:47 pm
by Lardo Boffin
Looks like this may do it:

IMG_4869.jpeg
IMG_4869.jpeg (2.75 MiB) Viewed 3379 times

Re: Disable the 80 column card using code

Posted: Sat Nov 25, 2023 8:11 pm
by gunrock
That should do it! Looks like you're having fun.

Re: Disable the 80 column card using code

Posted: Sat Nov 25, 2023 8:22 pm
by Lardo Boffin
I’m trying to get my head around Borland Turbo Pascal. It’s quite good!

The development environment is very advanced for the time.

Re: Disable the 80 column card using code

Posted: Sun Nov 26, 2023 9:15 am
by gunrock
I used Turbo Pascal for the PC around '87. It was decent. My friend at college wrote a pretty cool game that wrote directly to Hercules video memory by mapping a 2D array overlaying those memory addresses. Fast screen updates for free!

Not possible to do that on the TMS99XX graphics architecture, of course!

Re: Disable the 80 column card using code

Posted: Tue Apr 02, 2024 8:36 pm
by Gary C
Used TP to write an emulator for a Digital Equipment Corporation TU58 tape drive back in the early 90's. Its still in use now.

I do remember it having the same error as the Pascal compiler on the Old PRIME mainframe I used to program on at college. As I remember, if you coded an input after a certain print command, it would put a carriage return into the input buffer such that you needed to put a second input straight after it to get it to read from the keyboard.