Page 11 of 11

VTUI library

Posted: Tue Mar 23, 2021 3:31 pm
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...)

 


VTUI library

Posted: Fri Apr 09, 2021 8:43 pm
by desertfish

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


VTUI library

Posted: Fri Apr 09, 2021 8:46 pm
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?


VTUI library

Posted: Fri Apr 09, 2021 9:38 pm
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.


VTUI library

Posted: Fri Apr 01, 2022 12:50 pm
by JimmyDansbo

New version uploaded to support R39