mobilenero.blogg.se

Z88dk cplot color
Z88dk cplot color











z88dk cplot color
  1. #Z88dk cplot color full#
  2. #Z88dk cplot color software#

$(PY) tools/hexer.py src/ipl.bin 0x2f $(USEDSEC) # This can also be explicit on the commandline i.e.Ĩ8FLAGS=-mz80 -stack-loc $(STACK) -data-loc $(DATA) -code-loc $(CODE) -fomit-frame-pointer -no-std-crt0ĮMUEXE=C:\Users\Bent\Downloads\m88\m88x5.exe do not use the one distributed with SGDK etc. # Please use official GNU make installer 3.81! It mostly uses python and does some brute-force stuff to match the IPL bytes to the compiled binary.Ĭode: Select all # Very simple makefile for PC88-C.

#Z88dk cplot color full#

By default it's set to full color graphic mode with ROM basic bankswapped out for 64k ram mode. My toolchain adds the compiled main.bin to sector 2 and the IPL copies the whole thing into RAM.

#Z88dk cplot color software#

This usually sets up the stack and software environment and loads in the main program. <- This is called the IPL, and should take the place of crt0. Copy the first 256 bytes from drive 1, track 0, sector 1 to RAM at address $c000, then jumps to $c000. Stack pointer is around $e4xx depending on the model.Ģ. If "boot from floppy" is enabled, it does the following:ġ. When a PC-8801 boots, it checks dipswitch status. (Mansplaining a bit, but this is pretty important for PC-88 dev and should be explicit:) I can certainly help contribute in this regard.

z88dk cplot color

I researched and translated this all on my own, so I'm pretty well-versed in the graphic functionality now. The sprite example is rock-solid on hardware, and there is also a proper fast-handshake disk loading routine (save routine and a tilemap example are WIP). There is a hardware vsync, and and a hardware key-reading routine - I actually didn't have a resource for the BASIC disassembly and hadn't investigated it on my own, so I went ahead and wrote one. In src/pc88-c.h I have fully documented all of the hardware registers in English. I started using SDCC, and now it's in a stable, but feature-wanting state: (I didn't delve in too deeply, and I'm not super familiar with z88dk as a whole, but I didn't see methods for drawing in V2 or disk loading, and it didn't seem like anyone was working on it at the time.) I checked out z88dk a while ago (3-4 months) and decided since it wasn't super fleshed out that I would just start my own.

z88dk cplot color

I sent this to the mailing list but the official forums is probably a better place.













Z88dk cplot color