|
Post by mirkosoft on Jan 6, 2019 5:06:13 GMT
Hi!
Yesterday I tried to use Function Keys ROM inside Megabit Internal Adapter.
It displays function keys assignments in C128 on VDC display. How is done this trick? Editing frame is separated...
Thank you for help. Miro
Look below.
|
|
|
Post by bjonte on Jan 7, 2019 16:47:33 GMT
I think it is possible to specify the area of the screen editor on screen.
|
|
|
Post by mirkosoft on Jan 7, 2019 19:12:37 GMT
Ok, dumb Q - how?
Miro
|
|
|
Post by cbmguy on Jan 7, 2019 20:09:04 GMT
You can extend the VDC to 27 lines, then manually clear and write the bytes to those two lines of text. Make a little routine to read the byte values of the function keys and place them in the VDC ram locations for those two lines. If you don't change anything else in the controller, those two lines will remain static. Correct me if I'm wrong as it's been a few years since I fiddled with that.
|
|
|
Post by mirkosoft on Jan 8, 2019 2:25:29 GMT
Ok - understand I that it needs to extend lines to 27 and then use WINDOW command from Basic performing it in assembler? And for actual values + WINDOW check create IRQ?
Miro
|
|
|
Post by oziphantom on Jan 8, 2019 12:29:42 GMT
You don't need to change the window as the window is still the normal 25. the VDC doesn't so IRQ splits so there is no splitting needed.
You just write to the VDC VRAM directly, since this is beyond where the EDITOR ROM expects to be able to write, it never changes it.
|
|
|
Post by cbmguy on Jan 8, 2019 14:24:47 GMT
Ok - understand I that it needs to extend lines to 27 and then use WINDOW command from Basic performing it in assembler? And for actual values + WINDOW check create IRQ? Miro No need for anything else actually: no irq no window no nothing like that. The BASIC editor will not go past 25 rows. You can use that fact by extending the VDC to 27 lines and directly writing to those addresses. The editor will never use those rows normally--Nothing else is needed. Now, I'm not sure if you need to move attribute ram down a bit to provide for those extra two lines or not...
|
|