File: CZK3HG3UEAAHqbD.jpg (186.4 KB)
What are you working on, /g/?
Previous: >>108912856
Showing all 68 replies.
>>
>>
File: 1780046079675820.png (11.7 KB)
>>108932464
The newline is because I resized the terminal not the program fucking up.
>>
File: happy-pepe.png (685.4 KB)
>>108932455
>What are you working on, /g/?
Today I created a pull request on github.
Only adjusted some example sketch to use a different toolchain (because the vendor toolchain is deprecated), but feels good. Tfw real open source contributor now.
>>
>>
>>
>>
File: 1772895264310781.jpg (3.6 MB)
I am working on JavaScript, am doing some functional programming today, had OOP yesterday and learned that JS has real private since ES2022 with "#", they used "_" before but it wasn't real private
>>
File: 1765768921023430.png (459.7 KB)
>>108932547
>Tfw real open source contributor now.
I haven't done it yet because I feel too dumb and don't want to get laughed at or shit or screw something up lol.
but I'm happy for you anon
>>
>>
>>
File: 5a86f36c20af95c42b9d7d96a38ae5a5.jpg (50.2 KB)
>>108932902
>>108932913
Friendly reminder this is an English Image Board
>>
>>
>>
>>
>>
>>
>>
>>
>>
File: Zminok06.png (254.7 KB)
>>108933249
>>
File: 1780061280298222.png (168.9 KB)
>>108933249
>>108933320
>>
>>
>>
File: Screenshot_20260529_153807.png (280.7 KB)
>>108933584
>>
>>
Making "bad" blocks on a PS2 memory card is as easy as writing incorrect ECC bytes in one of the first two pages of a block.
When formatting the card it doesn't erase all the blocks and check that the blocks erase properly, so any blocks that haven't been erased (~erase bits in the unused page area where ECC bytes are stored) it will load the first two pages and make sure the data checks out with the ECC bytes.
Any that don't will be flagged as a bad block, which the filesystem will then work around. But it only supports up to 32 bad blocks, so that doesn't give you a lot of potentially "hidden" space if you wanted to section off some space to stuff some data into.
So what you could do is write the "hidden" data you want somewhere on the card after the first block (that'll be where the superblock is) ensuring that you write incorrect ECC bytes (or not caring about them) and then erase the superblock. Then when you boot into the OSD you open the card in Browser and it'll say it is unformated and let you format it, which will flag the "bad" blocks and then write the new superblock and FAT table.
Of course, the "bad" blocks can be restored by erasing those blocks and then reformatting (erase the superblock and format).
>>
>>
>>
>>
>>
>>
>>108933756
Me neither, that's why I will try to execute binaries from sdcard now.
1) find file
2) copy file to specific ram location
3) jump there
4) ????
5) profit
find file first, just iterate over all entries of root dir# ====================================================================== =======
# in: a0 contains pointer to filename (zero terminated string)
# out: a0 returns pointer to directory entry, 0 if file not found
.globl _fat12_find_file
_fat12_get_find_file:
addi sp, sp, -16
sw ra, 0(sp)
sw s0, 4(sp)
sw s1, 8(sp)
sw s2, 12(sp)
mv s0, a0
call _fat12_get_dir_entry_count
# TODO: suck my cock here
lw s2, 12(sp)
lw s1, 8(sp)
lw s0, 4(sp)
lw ra, 0(sp)
addi sp, sp, 16
ret
>>
>>
>>
>>
File: Screenshot_20260529_180736.png (19.7 KB)
>>108933773
Ok file can be found.
Now just memcopy the blocks to ram and then hopefully just jump there.
I might switch to C or write my own fucking compiler when I have this done.
I think I know now what I want and how this shit works. The kernel itself doesn't even need that much stuff, I can just extract all of the cool stuff into user applications. Then write a compiler and editor for the userland and then bootstrap everything from there
>>
>>
>>
File: 78A7BF30-FCB7-446B-8840-5E5539C7B1ED.jpg (1.3 MB)
>>108932455
>coding manually
Ngmi you will be replaced
>>
File: 1750078459842318.png (1.2 MB)
>>108934848
>>
>>
>>
>>
>>
>>
>>
>>108934848
>>108934866
Know your place and hang yourself, you subhuman, ban-evading, falseflagging troon
>>
>>
>>
>>108935564
Or not: https://mastodon.gamedev.place/@JeremiahFieldhaven/116654345332213390
t. >>>/g/vcg/ habitué
>>
>>
>>
>>
>>
I just spent two hours tard-wrangling Gemini to output two lines of Lua code, and it failed miserably. We should turn the dumbasses who promote LLMs into tasty, tasty food.
No, it's not cannibalism. Pretty much like autists they were never human to begin with.
>>
>>
>>
>>
>>108936297
I'm working on a particular GUI application I've wanted to make so I don't think NTAPI will be much help here.
>>108936436
Doesn't C++20 have designed initializers? Or do you consider them inferior just by the nature of them being more restrictive.
>>
>>
File: win32u_dll.png (31.0 KB)
>>108936483
>he doesn't know how to into win32u.dll
>>
>>
>>
File: günther.jpg (11.4 KB)
public static void main(String[] args) {
learn2Code();
}
public static void learn2Code() {
char[] string = { 73, 102, 32, 121, 111, 117, 32, 100, 111, 110, 39, 116, 32, 114, 101, 112, 108, 121, 32, 116,
111, 32, 116, 104, 105, 115, 32, 112, 111, 115, 116, 32, 121, 111, 117, 114, 32, 109, 111, 116, 104,
101, 114, 32, 119, 105, 108, 108, 32, 100, 105, 101, 32, 105, 110, 32, 104, 101, 114, 32, 115, 108, 101,
101, 112, 32, 116, 111, 110, 105, 103, 104, 116, 33 };
System.out.println(string);
}
>>
>>
>>
File: 1775379423193913.jpg (292.7 KB)
>>108934852
>an LLM will delete a vibe coder's entire production database, but only
Nah, they do that aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaall on their own.