mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,4 Tsd.
aktive Profile

#ASM

2 Beiträge1 Beteiligte*r0 Beiträge heute

Building rails restored in my latest refactored engine code!

My big refactor is all about making this engine as fast as possible.

Now only 5 recalculations are done after placing new rail-track. Correct sprites are saved in level data. That way rendering is just placing correct sprites. Before refactoring it was done on each tile each time...

#PixelArt#16colors#GameDev

I'm in the works with a new learning project I'm excited about.

In honor of our greats before us who didn't have the luxury of shared libraries, toolchains, or coding languages, I've decided to try my hand at something a bit more complex;

Making a coding language from assembly

The only CLI tools I've used so far is `nasm` and `gdb`, so I can't say it's from scratch unfortunately.

I'll try and update here as I go.

Where can I find good documentation on Linux/BSD x86/x86-64 syscall calling conventions that I can link to in documentation? When I search DDG/Google all I find are unrelated links about function calling conventions or StackOverflow links that link to WayBackMachine links for some long dead Assembly tutorial website.

Lately I'm reading the Intel x86 architecture manuals. I listed instructions that may be useful in the future. Some may required newer CPU. At least I will know there are options.

p.s. Screenshot is from windows machine so the fonts are broken :/

#ASM#Assembly#x86

I learn to program back in the days of 486, MS-DOS using QBASIC and it's help menu. Nothing else.

Over the next 30+ years I code in almost every (major) languages. Love some (C, LUA, Python), hate some (JavaScript, Java/C#).

Now I found the inner peace with Assembly (x86). I just like to write those instructions, shuffle values in memory and get a working software of it.

Is this the last stage of programmers life?