Skip to content

Missing IO ports #7

@sameo

Description

@sameo

The do-core architecture does not support IO ports.
This is needed for implementing a debug port.

Although x86 has specific instructions (inb, outb) for handling IO port based communication, but this is mostly for legacy reasons.

Another option is to do memory mapped IO ports, where a small, fixed memory region is dedicated to IO port devices.

I propose we go with the latter option and dedicate 32 bytes of the do-core address space for that purpose. With that approach, all devices are memory mapped and don't need a special set of instructions to be accessed.

The 32 bytes would be in the `[0x0 0x1f] range in memory and would represent 16 2 bytes wide ports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions