Am29000 emulator for windowed OS in machine code (1996)

nanochess2 pts0 comments

GitHub - nanochess/Am29000: Am29000 emulator for homebrew computer G11 with windowed operating system disk image. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

nanochess

Am29000

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

master

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>4 Commits<br>4 Commits

am29000.xcodeproj

am29000.xcodeproj

am29000

am29000

.gitignore

.gitignore

LICENSE

LICENSE

README.md

README.md

buildboot.c

buildboot.c

disassembly.txt

disassembly.txt

disk.img

disk.img

empty_disk.img

empty_disk.img

notes.txt

notes.txt

ram.txt

ram.txt

sanitizer.c

sanitizer.c

screenshot.png

screenshot.png

View all files

Repository files navigation

G11 computer emulator (Am29000)

by Oscar Toledo G. https://nanochess.org/

Once upon a time in the mysterious lands of Mexico, in Fall 1996 and through Spring 1997, I coded a 32-bit windowed operating system in machine code, fit it into a floppy, and jumped in excitement as it boot up and I could do things.

Of course, I knew it was a great thing because you couldn't boot Windows 3.1 or GEM from a floppy disk, but I was very far from knowing how so cool it was. Unfortunately, not a thing I could give away for everyone to see, as it was written for a homebrew computer based on the AMD Am29000 processor.

A full article about this operating system is available at https://nanochess.org/the_am29000_computer.html

Compiling it

You need libSDL2 for compiling the emulator. Just go to libsdl.org and install the latest libSDL2 for your platform.

gcc emulator.c am29000.c clgd5429.c -lSDL2 -o emulator

For macOS, you need to create a console Xcode project, add these files, and drag the libSDL2 framework to your source tree. Or simply use my XCodeProj file.

For Windows you can use Visual C++ Studio Express 2008 or 2010.

Releases

I've prepared two precompiled releases for Windows and macOS 15 and higher. You can find these in the Releases tab.

Using it

If everything goes right, you should see a blue screen, and then drag&drop the disk image file I've provided into the window. The operating system should boot up immediately, I didn't add delays for disk access.

That's it, you can play moving the windows, clicking the buttons to access the programs, one of these Archivero will allow you to see the full filesystem. If you do right-click on the window around the buttons, you'll change the color scheme.

Archivero: The file manager. You can drag&drop files between windows.

CDROM: This enables a ISO-9660 file system, but there's no CD support in the emulator.

Circuito impreso: A demo of vectorial graphics.

Colores: A way to edit the operating system colors.

Depurador: A bare bones debugger where you can view dumps of memory or disassembled code.

Editor: A text editor that can print documents (very glitchy)

Promedio: Processor usage and free memory.

Terminal: A serial terminal, but there's no serial port support.

Tipografia: Font faces tester and it can also change operating system ones.

Utilidades: The trash to drop files, or to bring new folders.

The folder Fondos contains background pictures, click any to enable it.

The folder Sistema/Protectores de pantalla contains a single screensaver called Acuario, the graphics are based on XFishtank.

The prints generated by the text editor can work with a real printer if you can find an HP Laserjet IIP, Canon BJC-600 or Epson Stylus 600. BTW, you can read the HP PCL5 generated with https://www.coolutils.com/online/PCLViewer

The print files are generated in your Documents folder with the name printer001.txt

When you exit the operating system, it will create a full dump of the 512K RAM both as hexadecimal and disassembly.

As this operating system was written in machine code, there is no source like that. The machine code is the source, and some notes I took (a few are in my article).

About<br>Am29000 emulator for homebrew computer G11 with windowed operating system disk image.<br>Resources<br>Readme<br>License<br>Activity<br>Stars<br>4 stars<br>Watchers<br>0...

am29000 system operating emulator disk files

Related Articles