GithubHelp home page GithubHelp logo

Feature: C128 support? about fuzix HOT 5 CLOSED

etchedpixels avatar etchedpixels commented on June 2, 2024
Feature: C128 support?

from fuzix.

Comments (5)

erkinalp avatar erkinalp commented on June 2, 2024

Can you give more information about this cooperatory system?

from fuzix.

darkstar avatar darkstar commented on June 2, 2024

Only what Wikipedia says, because even though I do own a C128 I cannot run CP/M on it as I lack the required floppy drive (C-1571) and the CP/M boot disk

From the source code of the C128 CP/M implementation, it is clear that the engineers originally planned to make it possible to run CP/M in the "fast" mode as well, with the 40-column output turned off and the Z80 running at an effective 4 MHz; however, this feature did not correctly function on the first-generation C128 hardware.

and

An unusual feature of the C128 among CP/M systems is that some of the low-level BIOS services are executed by the 8502 instead of the Z80. The latter transferred control to the 8502 after having placed the pertinent parameter values in designated memory locations. The Z80 then turns itself off, being awakened by the 8502 at completion of the BIOS routine, with status value(s) available in RAM for inspection. The reason for this is so that the Commodore development team would not have to rewrite the KERNAL routines for two completely different CPU instruction sets. The source code for the BIOS was available.

from fuzix.

EtchedPixels avatar EtchedPixels commented on June 2, 2024

The C128 is probably doable if someone contributes a port. However you are probably going to need some kind of sensible storage system (the Commodore serial floppy drives are incredibly slow and while the 1571 is better its still very very slow) or an REU or similar attached. It would also need someone very familiar with the C128 hardware as its quite different to a "normal" Z80 based system.

from fuzix.

erkinalp avatar erkinalp commented on June 2, 2024

Both processors have almost equal compute performance. We will therefore need special optimisation for this target.

from fuzix.

EtchedPixels avatar EtchedPixels commented on June 2, 2024

Not really. The Z80 is faster for 16 and 32bit work at a similar clock. It also has a 16bit stack pointer and avoids a pile of really painful problems the 6502 has. It might be entertaining to be able to run both 6502 and Z80 apps but you'd keep the kernel Z80 I think.

Either way it would really be up to who contributed the port.

from fuzix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.