VTUI library

All aspects of programming on the Commander X16.
User avatar
desertfish
Posts: 1096
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

VTUI library

Post by desertfish »


prog8's textio module is a mess in this regard, some routines use kernal others write directly to Vera.  Mostly, the operations that can reasonably be done by a kernal routine are not writing to Vera though.   (On the C-64, it is the same, but instead of vera it directly writes into the screen buffer ram locations).

In the end, does it matter?  It should be a secret for the user of the library how it does its work, as long as you get the desired result ?

The only thing that may be problematic is if you have banked out the kernal rom in your program and try to use the library routines that depend on a kernal routine.  A note in the documentation about this should fix that I think  (something I haven't yet taken care of for prog8...)

 

User avatar
desertfish
Posts: 1096
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

VTUI library

Post by desertfish »


I'm using VTUI for a game at the moment ?

User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

VTUI library

Post by JimmyDansbo »



2 minutes ago, desertfish said:




I'm using VTUI for a game at the moment



Which game is that? Have I missed it?

Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
User avatar
desertfish
Posts: 1096
Joined: Tue Aug 25, 2020 8:27 pm
Location: Netherlands

VTUI library

Post by desertfish »


No,  I've just started making it a few days ago. Here's a little preview of what I've got so far:

image.png.07123962a175ecc6bc54ecd6c636cb74.png

edit: ripped out the keyboard control and replaced it with joystick control. But having a bit of a problem getting the buttons state in a reliable fashion atm.

User avatar
JimmyDansbo
Posts: 476
Joined: Sun Apr 26, 2020 8:10 pm
Location: Denmark
Contact:

VTUI library

Post by JimmyDansbo »


New version uploaded to support R39


 

Visit my Github repo
or my personal site with CX16/C64/6502 related information.
Feel free to contact me regarding any of my projects or even about meeting up somewhere near Denmark
Post Reply