Skip to content

Simulating MCS-52 BASIC V1.31 that runs on a CH552T fails #10

@oloftangrot

Description

@oloftangrot

uCsim is installed as provided by sdcc on an Ubuntu 24.04 LTS machine.

When I try to simulate BAS552T.hex downloaded from https://github.com/mit41301/BASIC-52_CH552T
the BASIC interpreters seems to start and output its prompt at the connected tty (/dev/pts/0 in my case) but when I try to run a single row BASIC program nothing happens after CR and the terminal becomes unresponsive.

Mayby it is due to some XRAM(?) issue with the CH552T but as far as I can tell there is 64 k available.

The code I try to run is built for a CH552T which is an enhanced 8051 processor. I have assumed that invoking s51 without any specific processor type is good enough. If I deploy the HEX-file on real CH552T hardware it seems to run with no hassles.

Is there some fault I make that prevents the simulation to run properly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions