Implement built-in MEM command - #128
Conversation
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
|
mem.c:439:14: warning: variable ‘xms_largest_free_kb’ set but not used [-Wunused-but-set-variable] |
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
|
You added empty commit, nice. |
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Add retry logic to ci_prereq.sh for apt repository additions. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Update ci_prereq.sh with manual PPA key import fallback to handle transient Launchpad API 500 errors. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Add robust fallback logic in ci_prereq.sh and ci_test_prereq.sh for PPA key fetching when Launchpad returns 500 errors. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Add retry loops to ci_prereq.sh and ci_test_prereq.sh to handle transient Launchpad PPA API 500 errors. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
|
Will do. I wonder if we can have unit tests somehow for our DOS based C code. |
|
For example by adding the "secret" |
Implement the MEM command as a built-in comcom64 command in a separate source file (src/mem.c / src/mem.h). The command reports conventional memory, upper memory (UMB), extended memory (XMS), and expanded memory (EMS) usage, along with HMA status, largest executable program size, and largest available UMB block. Supports /CLASSIFY (/C), /FREE (/F), /DEBUG (/D), /PAGE (/P), and /HELP (/?) options. Add retry loops to ci_prereq.sh and ci_test_prereq.sh for PPA additions. Co-authored-by: stsp <3295627+stsp@users.noreply.github.com>
|
Started as a PR against this PR, will have more of a look tomorrow. |
Implements a built-in MEM command similar to FreeDOS MEM in comcom64, placed in src/mem.c and src/mem.h. Updates build configurations (src/makefile.inc, djgpp/makefile) and registers 'mem' in command table in src/command.c.
PR created automatically by Jules for task 9759128799870124279 started by @stsp