Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.1.2 #136

Merged
merged 21 commits into from Dec 1, 2023
Merged

v2.1.2 #136

merged 21 commits into from Dec 1, 2023

Commits on Apr 13, 2023

  1. Fix a bug in MAPDRV and a bug in the MFRSD kernel.

    - MAPDRV was corrupting the register holding the drive number
      while unmapping all the drives in case the device reports
      it has changed. Thus the mapping information ended up written
      to an incorrect memory area.
    
    - The MFRSD driiver was reporting "device changed" even after
      the device had been accessed with DEV_RW. A device is no longer
      considered as "changed" after it has been accessed.
    
    Scenario to reproduce the issue:
    
    - MFRSD with two cards, second one has at least 2 partitions
    - On boot, A: is card 1 partition 1, B: is card 2 partition 1
    - Right after boot map any drive to card 2 partition 2:
      MAPDDRV d: 2 3 1-3
    - Now switch to drive D:, computer crashes
    Konamiman committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    3084861 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2023

  1. Add support for recognizing partition type code 15

    ("extended partition LBA") as a valid extended partition type,
    additionally to 5 ("extended partition CHS") in the kernel
    and in MAPDRV.COM.
    
    Additionally, small fix in FDISK, which was creating FATs with one
    extra sector when creating FAT16 filesystems.
    Konamiman committed Apr 16, 2023
    Configuration menu
    Copy the full SHA
    7985450 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a21bde View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Make the DOSVER function call return 6Fh in C in DOS 1 mode

    The MSX-DOS 2 documentation says that DOSVER in DOS 1 returns B=0
    and C undefined, but the fact is that in MSX-DOS 1 register C is
    preserved (so 6Fh) and seems like some programs rely on that fact
    to detect the DOS 1 mode. Nextor was corrupting C in this case,
    so even if strictly speaking that shouldn't be an issue, this commit
    changes the behavior of DOSVER in DOS 1 to return C=6Fh.
    Konamiman committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    0bcecfa View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2023

  1. Rename "SunriseIDE.emulators.ROM" file to "SunriseIDE.blueMSX.ROM"

    The issue of only recognizing the slave device with the regular
    Sunrise IDE driver happens only in blueMSX, not in all emulators
    as the documentation was incorrectly stating.
    Konamiman committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    f5edece View commit details
    Browse the repository at this point in the history
  2. FDISK now creates new partitions with code 15, not 5.

    Code 15 is "extended partition LBA", code 5 is the old
    "extended partition CHS".
    Konamiman committed Oct 29, 2023
    Configuration menu
    Copy the full SHA
    fd5631e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Update MegaFlashROM SCC+ SD Boot Behavior

    This PR gives the MegaFlashROM the same boot behavior as the Sunrise IDE driver 0.1.7, that is restore the MSX saved screen parameters at boot if they've been saved by the RTC on MSX2 or higher computers.
    
    Given that I'm currently traveling, I was only able to test and confirm it working with OpenMSX on a FS-A1WSX and FS-A1GT using both 1 and 2 slots flavors of the ROM.
    
    Thankfully the changes made shouldn't bring up any unrelated behaviors since they're cosmetic at most and don't affect the driver itself.
    Steveneska committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    d98e0b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2023

  1. Configuration menu
    Copy the full SHA
    014de7c View commit details
    Browse the repository at this point in the history
  2. Update the description of _GPART in the programmers reference.

    Add a paragraph explaining that 15 (extended LBA) is recognized
    as a valid extended partition type code since Nextor 2.1.2.
    Konamiman committed Nov 5, 2023
    Configuration menu
    Copy the full SHA
    4b9c0d4 View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2023

  1. Fix DSKIO driver error check in DOS 1, page 1 transfers

    The code in drv.mac was assuming that the call to the driver routine
    DEV_RW/DSKIO was setting Cy=1 to signal an error, however this is true
    only for drive-based drivers, but not for device-based drivers.
    This incorrect behavior was happening only in DOS 1 mode and only
    for transfers to page 1.
    Konamiman committed Nov 14, 2023
    Configuration menu
    Copy the full SHA
    4dcfa14 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2023

  1. Fix error code returned to the OS in crt0_msxdos_advanced.

    It was being taken from register L, but in newer SDCCs it's passed
    in register A instead.
    Konamiman committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    8a104a6 View commit details
    Browse the repository at this point in the history
  2. Fixes in long integer handling in printf.c

    - Doc comment fixed: now it correctly says that the modifier
      for integers is "u" (not "ud" or "ui") and for unsigned long
      is "lu" (not "ul")
    
    - Fixed the "l" modifier, it was skipping the next character
    Konamiman committed Nov 19, 2023
    Configuration menu
    Copy the full SHA
    b9a0176 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2023

  1. Configuration menu
    Copy the full SHA
    a7e89f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2023

  1. Configuration menu
    Copy the full SHA
    a8aebf1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7e8d5f8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bd871d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6989ce2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f73a87d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7e1998e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5ae2444 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bdbdcba View commit details
    Browse the repository at this point in the history