Post AWLfbeSA729ayYaSMy by izaya@social.shadowkat.net
(DIR) More posts by izaya@social.shadowkat.net
(DIR) Post #AWIqZWeIforYDJZcnI by izaya@social.shadowkat.net
2023-06-03T04:23:34.397081Z
0 likes, 0 repeats
so I implemented multiple virtual terminals per display in the PsychOS terminal emulator layerif I use a T3 GPU instead of a T2 GPU, the screen it's attached to gets 12 vtys it's pretty sillyhaven't implemented the DEC extensions for copying data between "pages" yet but I might later. also the area fill control sequences.
(DIR) Post #AWIvYKUMtn8VysB2Rc by izaya@social.shadowkat.net
2023-06-03T05:19:28.240436Z
0 likes, 0 repeats
while it would be interesting to implement something that runs on the screen only and acts as a task manager/debugger, I'm not confident I can reasonably do that.that's okay though. this is pretty useful nonetheless.
(DIR) Post #AWJBLLgqigP5CzqaX2 by albusdianthus@social.inex.rocks
2023-06-03T08:12:05Z
0 likes, 0 repeats
@izaya is this the open computers?
(DIR) Post #AWJBLMKCMNsZB2G0rg by izaya@social.shadowkat.net
2023-06-03T08:16:22.080638Z
0 likes, 0 repeats
@albusdianthus yup yup
(DIR) Post #AWKgWip4LSMrsLYT3I by saphire@dragon.style
2023-06-04T01:26:28Z
1 likes, 0 repeats
@izaya You have successfully nerdsniped me with this screenshot to look this program up and start implementing scaling in it because it does not look fine on my HiDPI setup >_>
(DIR) Post #AWKgaBR4Q3v7UAypzk by izaya@social.shadowkat.net
2023-06-04T01:40:51.091661Z
0 likes, 0 repeats
@saphire given it's copying minecraft UIs, I imagine just doubling the size of each fake pixel would do the job
(DIR) Post #AWLetj7RP6cUhkwxWa by izaya@social.shadowkat.net
2023-06-04T12:56:58.310824Z
0 likes, 0 repeats
Shout-out to @asie who fixed a synchronisation bug in OC that was preventing this from working in-game and stopped me pulling all my hair out.Now I have it running in-game, see the attached video for a demonstration :akko_yay: for my next trick I'll allow multiple physical displays on one GPU
(DIR) Post #AWLfbeSA729ayYaSMy by izaya@social.shadowkat.net
2023-06-04T13:04:56.236877Z
0 likes, 0 repeats
real talk I'll probably do some more bullshit with different size vtys on T2 and 3 displays. If you run them at lower resolutions you get non-displayed but drawable areas; this means if you run a T3 display (160x50) at T2 resolution (80x25) you get the equivalent of 3 more screens of VRAM.it would also be interesting to play with allocating one less line as the drawable area and having a status line with like, time, memory, number of processes. this would give me just enough VRAM wiggle room to allow swapping out an extra screen one section at a time. with a T3 GPU, using 80x24 displays instead of 80x25 displays gives you half a screen worth of free VRAM, which could be used to store half the screen, which would then be drawn over with the terminal you're switching to, then that section of VRAM would be drawn into from the half you saved, and the process would be repeated for the other half. this would mean doing ... 4 bitblt calls instead of 2, but only 2 of those would actually relate to the screen
(DIR) Post #AWPQ1v6nzMhXWiwPj6 by izaya@social.shadowkat.net
2023-06-06T08:28:38.554957Z
1 likes, 0 repeats
psych! I actually worked on the shellI've got standalone executables working in a way that I don't hate nowwhen you call their name as a function it loads them from disk and tries to execute them in their own process.also, in line interactive line mode, io.read() will throw an error if you hit ^C
(DIR) Post #AWPpwUTWBMbcHgdWXw by izaya@social.shadowkat.net
2023-06-06T12:51:34.919021Z
0 likes, 0 repeats
so I could make my code cope with pre- and post- video memory systemsOR I could make stub methods in the component proxies to no-op all the video memory related methods if they're missing
(DIR) Post #AWPvlwZjxtDFyXtvX6 by izaya@social.shadowkat.net
2023-06-06T14:24:51.768951Z
0 likes, 0 repeats
I did it the nice way, not the janky waynow available in mainline PsychOS: getty and vtansi that runs on systems with and without video memory!ocelot with video memory on the left, ocvm without on the right.