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

The 8080 is a simple processor, the "how to program" manual is only 60 pages.

Most of the instructions are changing registers in various ways, which is pretty simple. The Appendix A has all of them: https://altairclone.com/downloads/manuals/8080%20Programmers...



I am more amazed you can fit a (pretty large subset of) Haskell compiler/runtime in about twice the size [1].

[1] https://www.ioccc.org/2019/lynn/hint.html


Well, an a complete lisp system on that size, for sure. And forth environment.


Example? I meant under 8080. Seems to have sector size using x86?


I found a Forth for x86 under the IOCCC contest of 1992: the Buzzward.2 entry.

https://www.ioccc.org/1992/1992.tar.bz2

You need to edit the CFLAGS (or just comment that line), and by using gcc or even tcc will work fine.


The former meant under x86, and that's easy even for IOCCC.With awk you can write an RPN calculator in 10 lines or such...


I went too far and ran into the printed hexadecimal-decimal lookup table for every number from 0x0-0xFFF


ah yes, I had that poster on my wall as a kid... https://twitter.com/JBrooksBSI/status/952291667041599488/pho...


Now I'm having fond memories of discovering the IBM box drawing characters above 128 as a kid, and doing fancy text files.




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

Search: