some useful definitions

This commit is contained in:
IonutParau 2025-06-01 21:27:08 +02:00
parent b9989b68c6
commit 1db76cda57

View File

@ -363,6 +363,8 @@ void nn_loadCoreComponentTables(nn_universe *universe);
void nn_loadEepromTable(nn_universe *universe);
void nn_loadFilesystemTable(nn_universe *universe);
void nn_loadDriveTable(nn_universe *universe);
void nn_loadScreenTable(nn_universe *universe);
void nn_loadGraphicsCardTable(nn_universe *universe);
// the helpers
@ -589,4 +591,7 @@ void nn_setOn(nn_screen *buffer, bool on);
// - Tier 4 has 240x80 max resolution, 16 bit color depth. 256 editable palette colors.
void nn_screen_setBasicTier(nn_screen *screen, int tier);
nn_component *nn_addScreen(nn_computer *computer, nn_address address, int slot, nn_screen *screen);
nn_component *nn_addGPU(nn_computer *computer, nn_address address, int slot, int maxWidth, int maxHeight, int maxDepth, int totalVRAM);
#endif