this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Make RAM and VRAM a bit more explicit (#1318)

* be more explicit, these are bytes

* Kb or KB, be explicit

* be clear about reserved vs free

* is VRAM technically not part of RAM?

* SYSTEM FONT

- To be clear we aren't talking about the `font` API

* match wiki

* update help desc

authored by

Josh Goebel and committed by
GitHub
db568ee1 38070e60

+11 -10
+11 -10
src/studio/screens/console.c
··· 2224 2224 printLine(console); 2225 2225 2226 2226 printTable(console, "\n+-----------------------------------+" \ 2227 - "\n| 80K RAM LAYOUT |" \ 2227 + "\n| 96KB RAM LAYOUT |" \ 2228 2228 "\n+-------+-------------------+-------+" \ 2229 - "\n| ADDR | INFO | SIZE |" \ 2229 + "\n| ADDR | INFO | BYTES |" \ 2230 2230 "\n+-------+-------------------+-------+"); 2231 2231 2232 2232 static const struct{s32 addr; const char* info;} Layout[] = 2233 2233 { 2234 + {0, "<VRAM>"}, 2234 2235 {offsetof(tic_ram, tiles), "TILES"}, 2235 2236 {offsetof(tic_ram, sprites), "SPRITES"}, 2236 2237 {offsetof(tic_ram, map), "MAP"}, ··· 2247 2248 {offsetof(tic_ram, stereo), "STEREO VOLUME"}, 2248 2249 {offsetof(tic_ram, persistent), "PERSISTENT MEMORY"}, 2249 2250 {offsetof(tic_ram, flags), "SPRITE FLAGS"}, 2250 - {offsetof(tic_ram, font), "FONT"}, 2251 - {offsetof(tic_ram, free), "..."}, 2251 + {offsetof(tic_ram, font), "SYSTEM FONT"}, 2252 + {offsetof(tic_ram, free), "... (free)"}, 2252 2253 {TIC_RAM_SIZE, ""}, 2253 2254 }; 2254 2255 ··· 2266 2267 printLine(console); 2267 2268 2268 2269 printTable(console, "\n+-----------------------------------+" \ 2269 - "\n| 16K VRAM LAYOUT |" \ 2270 + "\n| 16KB VRAM LAYOUT |" \ 2270 2271 "\n+-------+-------------------+-------+" \ 2271 - "\n| ADDR | INFO | SIZE |" \ 2272 + "\n| ADDR | INFO | BYTES |" \ 2272 2273 "\n+-------+-------------------+-------+"); 2273 2274 2274 2275 static const struct{s32 addr; const char* info;} Layout[] = ··· 2276 2277 {offsetof(tic_ram, vram.screen), "SCREEN"}, 2277 2278 {offsetof(tic_ram, vram.palette), "PALETTE"}, 2278 2279 {offsetof(tic_ram, vram.mapping), "PALETTE MAP"}, 2279 - {offsetof(tic_ram, vram.vars.colors), "BORDER"}, 2280 + {offsetof(tic_ram, vram.vars.colors), "BORDER COLOR"}, 2280 2281 {offsetof(tic_ram, vram.vars.offset), "SCREEN OFFSET"}, 2281 2282 {offsetof(tic_ram, vram.vars.cursor), "MOUSE CURSOR"}, 2282 2283 {offsetof(tic_ram, vram.blit), "BLIT SEGMENT"}, 2283 - {offsetof(tic_ram, vram.reserved), "..."}, 2284 + {offsetof(tic_ram, vram.reserved), "... (reserved) "}, 2284 2285 {TIC_VRAM_SIZE, ""}, 2285 2286 }; 2286 2287 ··· 2394 2395 } AvailableConsoleCommands[] = 2395 2396 { 2396 2397 {"help", NULL, "show this info", onConsoleHelpCommand}, 2397 - {"ram", NULL, "show 80K RAM layout", onConsoleRamCommand}, 2398 - {"vram", NULL, "show 16K VRAM layout", onConsoleVRamCommand}, 2398 + {"ram", NULL, "show 96KB RAM layout", onConsoleRamCommand}, 2399 + {"vram", NULL, "show 16KB VRAM layout", onConsoleVRamCommand}, 2399 2400 {"exit", "quit", "exit the application", onConsoleExitCommand}, 2400 2401 {"new", NULL, "create new cart", onConsoleNewCommand}, 2401 2402 {"load", NULL, "load cart", onConsoleLoadCommand},