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

"Get cluster information" function call, improvements to EMUFILE #35

Merged
merged 8 commits into from Jul 10, 2020

Commits on Oct 4, 2019

  1. Add the infrastructure for a new function call: GETCLUS (7Eh)

    - Add the appropriate entry points in the kernel
    - Add the function skeleton, for now it only checks if the drive exists
    - Add the entry point in NEXTOR.SYS (and step it up to v2.11)
    Konamiman committed Oct 4, 2019
    Configuration menu
    Copy the full SHA
    db1c388 View commit details
    Browse the repository at this point in the history
  2. Implemented most of the functionality of the routine

    (to do: fill FAT sector number and offset)
    Konamiman committed Oct 4, 2019
    Configuration menu
    Copy the full SHA
    0dd4564 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1540946 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2019

  1. Improvements in the implementation of the new function call:

    - Use a dedicated buffer, instead of TMP_FCB, for intermediate data
    - Add an explicit flag for FAT12 drives
    - Return .NDOS if the drive is neither FAT12 nor FAT16
    - Add a flag for unused clusters
    - Always return the real value of the cluster (not FFFFH always when it's
      the last cluster in the file)
    Konamiman committed Oct 6, 2019
    Configuration menu
    Copy the full SHA
    4b14ab4 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2019

  1. Return invalid cluster via error, not flag:

    A new error code is defined (.ICLUS, B0h), it will be returned
    when the cluster number supplied to GETCLUS is invalid;
    the "valid cluster number" flag has been removed.
    
    Also, some missing Japanese error messages have been added.
    Konamiman committed Oct 7, 2019
    Configuration menu
    Copy the full SHA
    ed63fea View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    41b6e2b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4ef1c63 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2019

  1. Improvements to the EMUFILE tool:

    - It uses the new GETCLUS function to check the FAT chain of
      disk image files  when createing an .EMU file.
    - It now accepts a directory as paramneter for "set", then it
      searches a file with the same name and .EMU extension
      inside the directory.
    Konamiman committed Oct 8, 2019
    Configuration menu
    Copy the full SHA
    a1f1ea9 View commit details
    Browse the repository at this point in the history