RetroBrew Computers Forum
Discussion forum for the RetroBrew Computers community.

Home » RBC Forums » General Discussion » edit and compile software for z80 system (Whats your reccomendations)
edit and compile software for z80 system [message #9931] Sun, 22 May 2022 05:02 Go to next message
comwarrior is currently offline  comwarrior
Messages: 11
Registered: April 2019
Junior Member
Greetings everyone.
I'm making a z80 based system from scratch.
I've got hardware running, but struggling for software.
Im struggling to find an assembler / compiler suit for z80 assembly that will let me create everything from scratch, basically my own operating system.

I've just looked at z88DK, and unless i'm missing something, the documentation is mostly unhelpful. It boasts about having library functions for a large list of hardware yet don't give you a list of functions an what parameters they take. It says to look in the library file for the functions yet the library files don't have any explanation and some of them are not ascii (proberbly pre compiled).

It would be nice to have some things in a library for general use, such as math functions, or more complecated stuff (disk storage and filesystems).

I've got 8088 and Z80 assembler and disassembler suit installed and editing with notepad++.

Any help, advice, tips, etc appreciated.

TIA
Re: edit and compile software for z80 system [message #9932 is a reply to message #9931] Sun, 22 May 2022 09:33 Go to previous messageGo to next message
monahan is currently offline  monahan
Messages: 25
Registered: November 2015
Junior Member
Take a look here:-
http://s100computers.com/Software%20Index%20Page.htm

John
Re: edit and compile software for z80 system [message #9933 is a reply to message #9932] Sun, 22 May 2022 09:35 Go to previous messageGo to next message
monahan is currently offline  monahan
Messages: 25
Registered: November 2015
Junior Member
and here:-
http://s100computers.com/Software%20Folder/Altair%20Simmulat or/Altair%20Software.htm
Re: edit and compile software for z80 system [message #9934 is a reply to message #9933] Sun, 22 May 2022 13:53 Go to previous messageGo to next message
etchedpixels is currently offline  etchedpixels
Messages: 333
Registered: October 2015
Senior Member
Z88DK doesn't document the library because it's the standard C library functions plus some platform specific stuff - so they behave the way you'd expect them to and map the underlying OS behaviour like CP/M onto the standard Unix / C behaviour (or somewhere as close as it can get). If you are building bare metal and want things like disk I/O you'll have to write the file system and low level interface routines for it.

Re: edit and compile software for z80 system [message #9945 is a reply to message #9934] Sat, 04 June 2022 10:28 Go to previous message
scruss is currently offline  scruss
Messages: 62
Registered: December 2015
Location: Toronto, Canada
Member

There's a fairly detailed breakdown of adding a new target here: Library in Depth, though I'll admit I've never brought up a whole new target myself.

> Does anyone know what each of the pins on the 6502 CPU chip in the Apple II Plus does?
They all plug into the socket on the motherboard to keep the chip from drifting away. - c.s.a2 FAQ of yore
Previous Topic: HBC-56 project
Next Topic: SBC-188 V3.2 board problem [SOLVED]


Current Time: Wed Mar 19 01:19:23 PDT 2025

Total time taken to generate the page: 0.00780 seconds