mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-11 15:24:05 +09:00
gpu: reading existence of other banks using mmio
This commit is contained in:
@@ -49,7 +49,7 @@ graphics.setFramebufferScroll(0,-((1.0-tdiff/tlen)*164)|0);}
|
||||
|
||||
// show how much ram is there
|
||||
con.color_pair(239,14);
|
||||
let vramstr="VIDEO RAM : 256 Kbytes";
|
||||
let vramstr=`VIDEO RAM : ${256 * sys.peek(-131084)} Kbytes`;
|
||||
let uramstr=` USER RAM : ${system.maxmem()>>>10} Kbytes`;
|
||||
con.move(20,(80-vramstr.length)/2);println(vramstr);
|
||||
con.move(21,(80-uramstr.length)/2);println(uramstr);
|
||||
|
||||
Reference in New Issue
Block a user