Code Monkey home page Code Monkey logo

Comments (1)

apoloval avatar apoloval commented on August 30, 2024

Perhaps you had written the ROM image to the wrong addresses.

The PCB is mapping the ROM memory in the 64KB address space of the cartridge slot as is. This means the address 0000h of the ROM chip corresponds to the address 0000h of the slot address.

The MSX, during BIOS boot, looks for a bootable program in every slot, but only on memory pages 1 (at 4000h) and 2 (at 8000h). If you had written your program on address 0000h, it will never boot.

Try to manipulate your ROM image such that it is extended to 64KB, so it contains:

  • 0000h to 3FFFh: fill with zeroes
  • 4000h to 7FFFh: your program
  • 8000h to FFFFh: fill with zeroes

For a program that expects to run on page 1. Or the following if it expects to run on page 2:

  • 0000h to 7FFFh: fill with zeroes
  • 8000h to BFFFh: your program
  • C000h to FFFFh: fill with zeroes

Then write that ROM image to the 39SF and try again.

from msx-cartridge.

Related Issues (6)

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.