<clever>
ZetItUp: this would be a 109kb binary, that does dram init, enables the ntsc output, has fonts for rendering text, and an ext4 driver that can read an SD card
<clever>
ZetItUp: it boots on an rpi1 in just 0.61 seconds
pretty_dumm_guy has quit [Quit: WeeChat 3.2.1]
<clever>
i later realized, i forgot to build with -ffunction-sections
<clever>
so it had a lot of dead code
<ZetItUp>
clever: nice :o
<ZetItUp>
note to self, don't chase the mosquito when you have a glass with liquid on your desk..
nyah has quit [Ping timeout: 265 seconds]
<clever>
ZetItUp: the part at 5:17, with sharing and mirroring, the rpi hw is capable of that
<clever>
ZetItUp: but it also has 1gig of ram, and sprites can be huge (think 1280x1024), so those tricks arent as needed, enless you want to get lower cpu usage, and spend less time updating gfx
<ZetItUp>
yeah when dealing with graphics you can do some really nifty stuff, even things that is heavy on the cpu like pixel plotting
<bslsk05>
'2d and 3d demo' by michael bishop (00:00:21)
<ZetItUp>
do you render the berry in the 3d one as a sprite or vertex?
<clever>
the berry is a 2d sprite
<ZetItUp>
ah :D
<clever>
the triangle is a polygon, rendered into a sprite, and then overlaid on the screen
<clever>
the text console is rendered into a 3rd sprite, and overlaid
<clever>
but the xy position of the text and triangle sprites are constant, so you dont really notice they are sprites
<klange>
lcars__: Register on the forum, make a post, have that post accepted from the moderation queue, and then join the "wiki" group on the forum and you will be able to make changes on the wiki.
<ZetItUp>
clever: nice :D
gioyik has quit [Quit: WeeChat 3.1]
AssKoala has joined #osdev
gog has quit [Ping timeout: 265 seconds]
no-n has quit [Quit: WeeChat 2.8]
isaacwoods has quit [Quit: WeeChat 3.2]
dutch has quit [Quit: WeeChat 3.2]
dutch has joined #osdev
lcars__ has quit [Ping timeout: 252 seconds]
lcars_ has joined #osdev
AssKoala has quit [Ping timeout: 252 seconds]
AssKoala has joined #osdev
sts-q has joined #osdev
Vercas9 has joined #osdev
Vercas has quit [Remote host closed the connection]
Vercas9 is now known as Vercas
mahmutov has quit [Ping timeout: 252 seconds]
srjek has quit [Ping timeout: 260 seconds]
no-n has joined #osdev
no-n is now known as pony\
pony\ is now known as pony
Vercas has quit [Remote host closed the connection]
Vercas has joined #osdev
AssKoala has quit [Ping timeout: 252 seconds]
Belxjander has joined #osdev
YuutaW has quit [Ping timeout: 260 seconds]
wgrant has quit [Quit: WeeChat 2.8]
zaquest has quit [Ping timeout: 260 seconds]
wgrant has joined #osdev
lcars_ has quit [Quit: leaving]
zaquest has joined #osdev
wgrant has quit [Quit: WeeChat 2.8]
wgrant has joined #osdev
Mikaku has quit [Quit: server maintenance ...]
scoobydoo_ has joined #osdev
scoobydoo_ has quit [Excess Flood]
scoobydoo_ has joined #osdev
scoobydoo has quit [Ping timeout: 265 seconds]
scoobydoo_ is now known as scoobydoo
Mikaku has joined #osdev
GeDaMo has joined #osdev
froggey has quit [Quit: leaving]
froggey-1 is now known as froggey
sortie has joined #osdev
Oshawott has joined #osdev
archenoth has quit [Ping timeout: 252 seconds]
gog has joined #osdev
wolfshappen has quit [Quit: later]
dennis95 has joined #osdev
vdamewood has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has joined #osdev
AssKoala has joined #osdev
vdamewood has quit [Quit: Life beckons]
pony has quit [Quit: WeeChat 2.8]
kingoffrance has quit [Ping timeout: 252 seconds]
AssKoala has quit [Ping timeout: 265 seconds]
wolfshappen has joined #osdev
wolfshappen has quit [Ping timeout: 252 seconds]
wolfshappen has joined #osdev
pretty_dumm_guy has joined #osdev
pretty_dumm_guy has quit [Client Quit]
pretty_dumm_guy has joined #osdev
srjek has joined #osdev
<dzwdz>
what types are y'all using for userland pointers?
<dzwdz>
i'm currently using a custom type which is typedef'd to void* in user code and uintptr_t in kernel code, but it's a pretty bad solution
kulernil has quit [Remote host closed the connection]
kulernil has joined #osdev
aleamb has joined #osdev
kulernil has quit [Remote host closed the connection]
kulernil has joined #osdev
<sortie>
dzwdz, I just use the actual types. Although I'd love to tag them with a __user definition or something that the compiler would warn about. Or maybe wrap them in C++ness.
<dzwdz>
at first i used the actual types too but that seems so risky
<sortie>
Def you only ever want to dereference them via your safe copy-to/from-userspace functions
tacco has joined #osdev
<dzwdz>
yup
<dzwdz>
atm i'm trying to figure out how to use sparse, since it's what linux uses for the __user thing
<klange>
"WSLg" is... slower than the local xming I was using previously when I feel the need to use my Windows hardware... but it has a Pulse server, so the audio in QEMU works... tradeoffs.
mahmutov has joined #osdev
freakazoid12345 has joined #osdev
drewlander has joined #osdev
AssKoala has joined #osdev
drewlander has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
dennis95 has quit [Quit: Leaving]
srjek has joined #osdev
gog has quit []
<junon>
Dumb question perhaps, but multiboot sets PE in cr0 and thus the cpu is in protected mode once multiboot jumps to kernel execution, right?
<dzwdz>
yup
<junon>
thanks
immibis has joined #osdev
devcpu has quit [Remote host closed the connection]
m5zs7k has joined #osdev
devcpu has joined #osdev
Oli has joined #osdev
Cyronator has joined #osdev
jimbzy has joined #osdev
Oli has quit [Quit: leaving]
Cyronator has left #osdev [Goodbye :^)]
AssKoala has quit [Ping timeout: 260 seconds]
GeDaMo has quit [Quit: Leaving.]
olavfosse has joined #osdev
jjuran has quit [Quit: Killing Colloquy first, before it kills me…]
jjuran has joined #osdev
olavfosse has quit [Quit: Client closed]
h4zel has joined #osdev
hbag has joined #osdev
CryptoDavid has joined #osdev
freakazoid12345 has quit [Ping timeout: 245 seconds]
gog has joined #osdev
freakazoid343 has joined #osdev
kulernil has quit [Write error: Connection reset by peer]
gxt has quit [Write error: Connection reset by peer]
Vercas has quit [Remote host closed the connection]
h4zel has quit [Ping timeout: 252 seconds]
anon16_ has joined #osdev
<anon16_>
Hello, is the minix book a good next step after learning the basics of x86 assembly and C? Or do I need to dig further before tackling it?
<hbag>
lol fuck i still need to learn both of those
<hbag>
i know C# and python and thats literally it