Posted By
MIRKOSOFT on 2016-10-29 12:28:41
| How to access character ROM directly?
Hi! I created program to print text around the circle in Basic 7.0 with compatibility to 3.5. I can't get character data running program on plussy - I mean there's other location and bankswitching. I need access character data directly for printing it to circle. But how to access it?
Thank you for help. Miro
|
|
Posted By
JamesC on 2016-10-29 12:54:15
| Re: How to access character ROM directly?
Are you using the CHAR command to "print" to the graphic screen?
|
|
Posted By
Gaia on 2016-10-29 13:57:43
| Re: How to access character ROM directly?
Yes, the BASIC PEEK command always reads the RAM by default on the 264 family. You'd have to write a small machine code routine to read out the ROM I guess...
|
|
Posted By
MIRKOSOFT on 2016-10-29 21:24:12
| Re: How to access character ROM directly?
CHAR command cannot rotate letters... It can only print horizontally and vertically... Ok, cannot to be used bankswitching to access chargen? In C128 is for this simple command to switch bank: BANK14 and chargen is available to read.
I do it by simplest way - add charset to disk and user can select own or loads standard chargen.
Miro
|
|
Posted By
JamesC on 2016-10-30 14:35:22
| Re: How to access character ROM directly?
10 GRAPHIC 1,0 : GRAPHIC 0 : REM Move start of BASIC to 16384 20 POKE 1177,62 : REM Force system to look at ROM 30 FOR I = 0 TO 1023 : POKE 4096 + I, PEEK (53248 + I) : NEXT I : REM Move charset to 4096 40 POKE 1177,63 : REM Restore system's ability to see RAM above 32767 50 ...
This method is mentioned in the Programmer's Reference Guide for the Commodore Plus/4, page 201.
|
|
Posted By
MIRKOSOFT on 2016-10-30 19:12:18
| Re: How to access character ROM directly?
Nice! This helps. Miro
|
|