Friday, November 9, 2018

Gen 2 update: pygame frontend

Overview

SBTCVM, for the longest time, used pygame for its frontend.  From the first prototype, all the way to Gen 1's last major version: SBTCVM Mark 2

Gen 2, however, has taken a more flexible approach. Already having a curses frontend, with a second, tk-based, frontend in planning.

Now, pygame has returned with the recent completion of the TTY emulation, and the basic structure of the pygame frontend's code.

PYG_SBTCVM.py SBTCVM's Pygame frontend in TTY mode.
PYG_SBTCVM.py SBTCVM's Pygame frontend.

UI

Its UI is sparse, similar to other VM's and emulators with an SDL-based display, i.e. DOSBox.

In the window title, we see that 3 eared mascot again *1, along with the trom name, and of course, "SBTCVM Gen2-9".

At the moment, only SBTGA v2 mode 0 is supported. If your wondering what that is, its the same TTY the curses frontend emulates.  

When SBTGA does start getting implemented though, expect the window to adjust its size periodically.

Footnotes:
  1. You can find that icon, in its assorted sizes in VMSYSTEM/GFX

No comments:

Post a Comment