Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> A simple mode 0x13 demo app plotting pixels while waiting for a keypress

Been wanting to check out DOS programming for a while but tooling setup always seemed overly daunting. If this works on an M1 it would be amazing.



It does work on M1, that's my personal setup.


Why would you want to program for DOS on an ARM Mac?


It's my main machine. The DOS aspect I find irrelevant as you have to emulate on any other platform.


There's something really fun about programming directly for a DOS machine. Mucking around with the interrupts, copying whole off screen rendered pages to the video RAM to show the new page, needing to think about RAM consumption, diving into assembly to optimize routines (probably not needed anymore), palette changes to simulate animation. Some of those constraints really help to promote creativity.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: