Skip to content

I got an error when writing because of the missing () in line 226 of pxdisk_mega.ino. #2

@RN-NOMATAN373

Description

@RN-NOMATAN373

Operation was confirmed with Arduino UNO R4.
Thank you for providing this very useful software.
I got an error when writing because of the missing () in line 226 of pxdisk_mega.ino.

Before fix
File dsk = SD.open(diskNames[device], O_READ | O_WRITE | O_CREAT);

After modification
File dsk = SD.open(diskNames[device], (O_READ | O_WRITE | O_CREAT));

Now it works.
Note that I can successfully create a text file to the A: drive using PIP.COM in PX4UTILS.IMG mounted on D:, though,
PIP A:HELLO.TXT=CON:.

For other drives (D:E:F:G:)
PIP E:HELLO.TXT=CON:
the following message appears and an error occurs.
BDOS ERR ON G: BAD SECTOR

The model is PX-4.
Thank you.

Translated with DeepL.com (free version)

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