code-golf / code-golf

A game designed to let you show off your code-fu by solving problems in the least number of characters.
https://code.golf
MIT License
1.15k stars 105 forks source link

Add 6502 Assembly Lang #628

Open TheRealOhead opened 2 years ago

TheRealOhead commented 2 years ago

We already have x86-64, so that would need to have a more specific name. It's popular because of NES homebrewing and stuff like that. It's also the only ASM lang I know :)

myclevorname commented 3 months ago

This leaves me with a few implementation questions.

How would the arguments be laid out in memory? What system would be emulated, if any? If not, how should I/O work? Should the program be evaluated in real-time according to the emulated system, or would it be emulated in a sort of turbo mode? If it would be emulated in real-time, what should the CPU speed be? If it is running in turbo mode, should the 5 second timeout apply to the time spent emulating the CPU, or should it apply to the amount of time the emulated CPU would've spent if it were running in real-time?