Comparing ke2044...ke2045 · FDOS/kernel · GitHub
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: FDOS/kernel
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ke2044
Choose a base ref
...
head repository: FDOS/kernel
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: ke2045
Choose a head ref
  • 17 commits
  • 28 files changed
  • 3 contributors

Commits on Feb 8, 2026

  1. Configuration menu
    Copy the full SHA
    f38076d View commit details
    Browse the repository at this point in the history
  2. load YesNo characters in CONFIG.SYS via COUNTRY statement so can use …

    …without having to load NLSFUNC
    PerditionC committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    720ec32 View commit details
    Browse the repository at this point in the history
  3. comments for NLS

    PerditionC committed Feb 8, 2026
    Configuration menu
    Copy the full SHA
    f1b59fc View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2026

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

Commits on Feb 23, 2026

  1. update submodule country

    PerditionC committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    fb14d1f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b78abba View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2026

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

Commits on Apr 21, 2026

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

Commits on Apr 22, 2026

  1. fatfs.c: fix earlier fix, update dir_size in map_cluster loop

    Earlier fix was #242 (this got the
    cluster value to use wrong).
    
    Original problem recorded in #241
    
    Reset disk scriptlet:
    
    nasm -I ~/proj/lmacros/ ~/proj/bootimg/bootimg.asm \
      -D_PAYLOADFILE=::empty -o diskempt.img
    cp -a ~/proj/kernel/bin/kernel.sys fdkernel.sys
    
    Run dosemu2 with -I "floppy { device diskempt.img }"
    
    After a test, run /sbin/dosfsck -n diskempt.img
    
    The following Script for lDebug files are test cases:
    
    === testshrt.sld
    e 200 "A:\test.dat" 0
    f 300 l 100 26
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     mov cx, 1000
     mov dx, cx
     int 21
     mov dx, 300
     mov cx, 10
     mov ah, 3F
     int 21
     .
    r v0 := aao
    a
     mov ah, 40
     int 21
     int3
     int3
     jmp (v0)
     .
    
    === testfull.sld
    e 200 "A:\test.dat" 0
    f 400 l 400 38
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     mov cx, ((#1424 * #1024 - 1) >> 10)
     mov dx, ((#1424 * #1024 - 1) & FFFF)
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 1
     int 21
     mov ah, 68
     int 21
     mov ax, 4202
     mov cx, -1
     mov dx, -10
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 10
     int 21
     int3
     mov ah, 68
     int 21
     nop
     int3
     nop
     jmp 100
     .
    
    === testful2.sld
    e 200 "A:\test.dat" 0
    f 400 l 400 38
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     mov cx, ((#1424 * #1024 - #512 - 1) >> 10)
     mov dx, ((#1424 * #1024 - #512 - 1) & FFFF)
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 1
     int 21
     mov ah, 68
     int 21
     mov ax, 4202
     mov cx, -1
     mov dx, -10
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 10
     int 21
     int3
     mov ah, 68
     int 21
     nop
     int3
     nop
     jmp 100
     .
    
    === testful3.sld
    e 200 "A:\test.dat" 0
    f 400 l 400 38
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     mov cx, ((#1424 * #1024 - #512) >> 10)
     mov dx, ((#1424 * #1024 - #512) & FFFF)
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 0
     int 21
     mov ah, 68
     int 21
     mov ax, 4202
     mov cx, -1
     mov dx, -10
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 10
     int 21
     int3
     mov ah, 68
     int 21
     nop
     int3
     nop
     jmp 100
     .
    
    ===
    ecm-pushbx authored and PerditionC committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    dd2293f View commit details
    Browse the repository at this point in the history
  2. fatfs.c: comment unexpected alloc of cluster past needed if CX=0

    Reset disk scriptlet:
    
    nasm -I ~/proj/lmacros/ ~/proj/bootimg/bootimg.asm \
      -D_PAYLOADFILE=::empty -o diskempt.img
    cp -a ~/proj/kernel/bin/kernel.sys fdkernel.sys
    
    Run dosemu2 with -I "floppy { device diskempt.img }"
    
    After a test, run /sbin/dosfsck -n diskempt.img
    
    The following Script for lDebug is a test case:
    
    === testsect.sld
    e 200 "A:\test.dat" 0
    f 400 l 400 38
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     mov cx, (#1024 >> 10)
     mov dx, (#1024 & FFFF)
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 0
     int 21
     int3
     mov ah, 68
     int 21
     nop
     int3
     nop
     jmp 100
     .
    
    ===
    ecm-pushbx authored and PerditionC committed Apr 22, 2026
    Configuration menu
    Copy the full SHA
    2b7c317 View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2026

  1. fatfs.c: fix to the fix to the fix, only write file size if appended

    The prior revision incorrectly corrupted the file size even if just
    scanning the file, including for read. Move the code so it only runs
    after the very spot that found it is writing, needed to append a new
    cluster to the chain, and successfully did do that.
    
    Script for lDebug file to test this error:
    
    === testtrun.sld
    e 200 "A:\test.dat" 0
    f 400 l 400 38
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     mov cx, (#10240 >> 10)
     mov dx, (#10240 & FFFF)
     int 21
     mov ah, 40
     mov dx, 400
     mov cx, 0
     int 21
     mov ah, 68
     int 21
     nop
     mov ax, 4200
     xor cx, cx
     xor dx, dx
     int 21
     mov dx, 800
     mov ah, 3F
     mov cx, 380
     int 21
     int3
     mov ah, 68
     int 21
     nop
     int3
     nop
     jmp 100
     .
    ===
    ecm-pushbx authored and PerditionC committed Apr 23, 2026
    Configuration menu
    Copy the full SHA
    b007d5f View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2026

  1. fatfs.c: move directory size adjust to dos_extend, if map_cluster failed

    Original issue: #241
    
    Test cases as Script for lDebug files:
    
    test$ cat testw1b.sld
    e 200 "A:\test.dat" 0
    f 300 l 400 26
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov dx, 300
     mov cx, 1
     mov ah, 40
     int 21
     mov ah, 68
     int 21
     int3
     int3
     jmp 100
     .
    
    test$ cat testwp1b.sld
    e 200 "A:\test.dat" 0
    f 300 l 400 26
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     xor cx, cx
     mov dx, 200
     int 21
     mov dx, 300
     mov cx, 1
     mov ah, 40
     int 21
     mov ah, 68
     int 21
     int3
     int3
     jmp 100
     .
    
    test$ cat testwpp1.sld
    e 200 "A:\test.dat" 0
    f 300 l 400 26
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     xor cx, cx
     mov dx, 201
     int 21
     mov dx, 300
     mov cx, 1
     mov ah, 40
     int 21
     mov ah, 68
     int 21
     int3
     int3
     jmp 100
     .
    
    test$ cat testw1c.sld
    e 200 "A:\test.dat" 0
    f 300 l 400 26
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov dx, 300
     mov cx, 201
     mov ah, 40
     int 21
     mov ah, 68
     int 21
     int3
     int3
     jmp 100
     .
    
    test$ cat testwp1c.sld
    e 200 "A:\test.dat" 0
    f 300 l 400 26
    a
     mov ah, 3C
     mov cx, 0
     mov dx, 200
     int 21
     xchg bx, ax
     mov ax, 4200
     xor cx, cx
     mov dx, 200
     int 21
     mov dx, 300
     mov cx, 201
     mov ah, 40
     int 21
     mov ah, 68
     int 21
     int3
     int3
     jmp 100
     .
    
    test$
    ecm-pushbx authored and PerditionC committed Apr 27, 2026
    Configuration menu
    Copy the full SHA
    44e62ca View commit details
    Browse the repository at this point in the history
  2. fatfs.c: no alloc cluster too much if CX = 0 and seek on boundary

    The possibility of fragmentation due to this misbehaviour was mentioned
    in #245 And it's also just slower to
    allocate the unneeded cluster just to free it again truncating the file.
    ecm-pushbx authored and PerditionC committed Apr 27, 2026
    Configuration menu
    Copy the full SHA
    8302336 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d073436 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2026

  1. Configuration menu
    Copy the full SHA
    b9138ee View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58e9cee View commit details
    Browse the repository at this point in the history

Commits on May 2, 2026

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