40 colum display on an 80 colum screen

Started by Blacklord, June 12, 2006, 10:21 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Blacklord

Note - first time program is run, it switches the VDC to 40 column mode, if run a 2nd time it switches VDC back to 80 columns

10 READX$,O$:L=LEN(O$)-1
20 FOR J=1toL STEP2
30 O=DEC(MID$(O$,J,2)):X=DEC(MID$(X$,J,2))
40 SYS 52689,,X:RREG A
50 A=XOR(A,O):SYS52684,A,X
60 NEXTJ
70 DATA"00010216191B)","417853F11028)"

OzOne

Quote from: adminNote - first time program is run, it switches the VDC to 40 column mode, if run a 2nd time it switches VDC back to 80 columns

10 READX$,O$:L=LEN(O$)-1
20 FOR J=1toL STEP2
30 O=DEC(MID$(O$,J,2)):X=DEC(MID$(X$,J,2))
40 SYS 52689,,X:RREG A
50 A=XOR(A,O):SYS52684,A,X
60 NEXTJ
70 DATA"00010216191B)","417853F11028)"
But don't try this in Vice! Works fine on my real 128, but the screen screws up big time in Vice (Windows version anyway) and won't restore without a reset.

Ozzy

xlar54

Maybe we should toss this over to the vice team so they can work on improving the emulation.  Does anyone know if VICE will handle 50 rows?  Desterm will swtich to 50 rows on the 80 column screen.

Wonder what ever happened to Desmond.  The guy was a good programmer.

airship

Over two years later, this is still broken in VICE.
Serving up content-free posts on the Interwebs since 1983.
History of INFO Magazine

Andrew Wiskow

Quote from: airship on September 10, 2008, 06:02 AM
Over two years later, this is still broken in VICE.

Has there been an update to VICE128 in the past two years?
Cottonwood BBS & Cottonwood II
http://cottonwood.servebbs.com

hydrophilic

Besides 2MHz support (about 2 years ago now!), there have been a few tweeks in the VDC.  The underline and flash attributes now work for example.   If I had the time, I'd work on variable screen size and interlacing...

xlar54

Without sounding presumptious that he would help them, it would be nice if these folks would talk with BDD regarding any remaining VDC issues.  I think we all can agree on his knowledge of the subject.  And VICE would be all the better for it.