Better HN
topnewbestaskshowjobs
Log inSign up

nanochess

1,411 karma · joined Jan 8, 2017 (9y ago) · 90 submissions

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)

Submissions

1.

Laptop Based on 6502 CPU(maddox.pro ↗)

204 points · by nanochess · 1mo ago · 110 comments

comment 1mo ago · link · parent

Cool! I was also registered in Tierras Extrañas. I just have added a link to a FB group for Mexican BBS people.

comment 1mo ago · link · parent

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 1mo ago · link · parent

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.

5.

La Cueva BBS in Mexico in 1993 (session replay)(nanochess.org ↗)

72 points · by nanochess · 1mo ago · 23 comments

comment 2mo ago · link · parent

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 2mo ago · link · parent

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.

8.

Making portable my unportable transputer C compiler(nanochess.org ↗)

74 points · by nanochess · 2mo ago · 11 comments

9.

How I developed an Am29000 C compiler and web browser(nanochess.org ↗)

92 points · by nanochess · 3mo ago · 22 comments

10.

Now Am29000 emulator in JavaScript with machine code windowed OS from 1996(nanochess.org ↗)

4 points · by nanochess · 3mo ago · 1 comment

comment 3mo ago · link · parent

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 3mo ago · link · parent

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 3mo ago · link · parent

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 3mo ago · link · parent

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 3mo ago · link · parent

I'm glad you enjoyed it. It is my longest article so far and it took a lot of effort. Thank you!

16.

Unearthing my 1996 windowed OS in machine code for Am29000 homebrew computer(nanochess.org ↗)

190 points · by nanochess · 3mo ago · 34 comments

17.

Am29000 emulator for windowed OS in machine code (1996)(github.com ↗)

2 points · by nanochess · 3mo ago · discuss

18.

Klondike Solitaire game for curses in 5k of C(nanochess.org ↗)

102 points · by nanochess · 5mo ago · 17 comments

comment 10mo ago · link · parent

I don't publish anymore in X, so I don't mind it. And by the number of points, I can see it is pretty obvious no one cares anymore. The owner is giving a great lesson on how to destroy a social network, while alienating the remaining users.

20.

PC-Man and the spark of childhood wonder(intotheverticalblank.com ↗)

30 points · by nanochess · 11mo ago · 19 comments

comment 1y ago · link · parent

First time I heard of it. I should know better as the TI-99/4A forum is just one click away from the Intellivision forum. Thanks for the heads up!

22.

Completing a BASIC language interpreter in 2025(nanochess.org ↗)

101 points · by nanochess · 1y ago · 21 comments

23.

Coding a new BASIC interpreter in 2025 to replace a slow one(nanochess.org ↗)

87 points · by nanochess · 1y ago · 18 comments

24.

CVBasic v0.9.0 now supports targetting NES/Famicom (14th platform supported)(forums.atariage.com ↗)

3 points · by nanochess · 1y ago · discuss

comment 1y ago · link · parent

The practical advantage is that the 74LS chips are available in several corner stores at 25 or 35 cents each one, and I preferred the logic to be the same family.

You cannot choose the source, these come mixed from ST, TI, and other manufacturers. I preferred the laser-engraved ones instead of the white ink ones just to have an uniform look.

The crystal oscillator needs something faster so it requires 74F04, and the link communication buffer requires 74F244 or 74AS244. These are more expensive, the 74F are 2 dollars each chip, and the 74AS are 4 dollars each chip.

26.

Development of a transputer ISA board(nanochess.org ↗)

78 points · by nanochess · 1y ago · 14 comments

27.

Show HN: Transputer emulator in JavaScript (fast enough to be useful)(nanochess.org ↗)

55 points · by nanochess · 1y ago · 7 comments

comment 1y ago · link · parent

These brochures were amazing. Just like video games, the cover promised a lot!

comment 1y ago · link · parent

Thanks! I love the "Fire in the Valley" book of Michael Swaine. I've read it so many times and always find it very inspiring.

comment 1y ago · link · parent

I didn't know it was "oddball". I had brochures, official Inmos datasheets, and reference books about it, along magazines articles citing it as the "faster processor in the world". I believed it was pretty popular until Internet put me down in Earth, and I discovered the transputer was pretty much dead since 1994.

I was already proficient in Z80 and 16-bit x86, so learning another instruction set was pretty welcome. The fun came from developing things for the first time and discovering how to actually do things, a 32-bit operating system, a K&R C compiler, and the assorted utilities.

Enforcing limitations was inspired by the IOCCC, and later by my boot sector programs. The type of things you do after work, just to test yourself and have some fun.

123