nanochess

Joined 9 years ago

Karma
1,411
Submissions
90
Member since
Jan 8
nanochess.at.hn

Living at Mexico. Always programming new things. 5x IOCCC winner. Wrote the JS1K Chess.

* Website: [nanochess.org](https://nanochess.org/) * Mastodon.social: [@nanochess@mastodon](https://mastodon.social/@nanochess) * Blusky: [@nanochess](https://bsky.app/profile/nanochess.bsky.social) * My books: [Lulu.com](https://lulu.com/spotlight/nanochess) * Instagram: [@nanochess](https://instagram.com/nanochess)

![nanochess](https://nanochess.org/img/myself.jpg)

View on Hacker News

Recent submissions

Comment · 24 days ago
Cool! I was also registered in Tierras Extrañas. I just have added a link to a FB group for Mexican BBS people.
Comment · 24 days ago
You're welcome. I was just commenting with a friend that I should have captured a lot more of my BBS sessions. There was some amazing ANSI art I never saw again. People really put effort in making their BBS look original and attractive.
Comment · 24 days ago
I'm pretty sure I wrote Z280 checking yep, the Zilog Z280 can address 16 MB of memory. It has separated MMU mapping for code and data (64K + 64K mapped anywhere) ideal for operating systems, but if you never enter this mode, then you can access at the same time 64K at the lowest memory address using the normal instructions, 64K using LDUP, and 64K using LDUD. Of course, you can update the MMU registers as required to access other memory spaces, I used the 8K page size. Besides the CPU has a small cache, so it was faster by a magnitude than a Z80.
Comment · 1 month ago
I've an AMD K5 processor machine running at 100 mhz. for testing Transputer ISA cards when someone buys one, I also use the same machine to format and copy my Pascal compiler into a pair of 5 1/4" floppy disks. All using DOS.
Comment · 1 month ago
It is a simple debugger log in the transputer emulator (enabled by compilation option) which outputs each instruction executed so far, around 70 bytes per line displaying the 3 registers, the stack pointer, the instruction pointer, and the disassembled instruction.

The emulated C compiler processed a whole file ccvars.c before getting stuck in ccinter.c (this is the 5gb mark, approximately 78 millions of instructions executed). I stopped the process as soon as I saw it was stuck, but the emulator is fast, and I got extra 3 gb in the log. All this happened in less than two minutes.

Comment · 2 months ago
Amazing! I didn't knew about the gr2 and gr3 register. I just searched for these in the user's manual, very sparse documentation. Thank you!
Comment · 2 months ago
The article ended so big for my own measures, but I'm glad to know you want more of my wall of text. Thank you!
Comment · 2 months ago
There was so much stuff to cover but there's a slight mention saying " had to add the LOADM and STOREM instructions as these handle the spilling of local registers to memory when the register stack is full" I can add an extra explanation there.
Comment · 2 months ago
Wow! Thank you! The floating-point implementation in the Am29050 is really great as it ran in parallel with the integer unit. Sorry, I need to ask, maybe you don't remember. What happens if you write into gr2-gr63? Not really needed to know, but I've been curious the last 30 years.
Comment · 3 months ago
I'm glad you enjoyed it. It is my longest article so far and it took a lot of effort. Thank you!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton