Comment by 90s_dev
1 day ago
Someone requested clarification on another post, so here it is:
It's a native Win32 app, with a window of 320x180 pixels, which scales upwards as you resize bigger. By itself the program does nothing except read and run a specific Lua file located in AppData. Drawing to the screen is the main operation of the program.
The Lua API has a few built in modules:
- "image" for dealing with gpu images, which includes the screen
- "lpeg" so you can write a custom parser
- "asm" so you can compile and run assembly code from Lua
- "memory" so you can read and write to real memory addresses
It uses real memory:
All the APIs, including the assembly you write, can access real memory addresses. So you can write to 0x20000 and read from it, either in Lua or Asm, and it just works. And you get raw pointers as Lua integers that you can pass around, which lets you pass them through assembly and back.
The app has a few competing primary purposes:
- Learn or practice writing x64 win32 assembly
- Learn or practice writing a programming language
- Learn or practice writing video games like it's 1979
- Learn or practice writing programs that manage raw memory
No comments yet
Contribute on Hacker News ↗