Skip to content

ecm 2026-04d: rename lDebug AMIS ELD files to drop second dash#14

Merged
shidel merged 1 commit into
LoopZ:mainfrom
ecm-pushbx:ecm-2026-04d
Apr 3, 2026
Merged

ecm 2026-04d: rename lDebug AMIS ELD files to drop second dash#14
shidel merged 1 commit into
LoopZ:mainfrom
ecm-pushbx:ecm-2026-04d

Conversation

@ecm-pushbx
Copy link
Copy Markdown
Contributor

I found my scriptlet accidentally left in the second dash, which shouldn't be present in the filenames.

@shidel shidel merged commit 90930cd into LoopZ:main Apr 3, 2026
@shidel
Copy link
Copy Markdown
Contributor

shidel commented Apr 3, 2026

No problem. :-)

@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

I copied the list of AMIS protocol comments from https://hg.pushbx.org/ecm/ldebug/file/921b0637b19e/source/amis.asm into ldebug.txt, then ran this scriptlet:

~/proj/list/source/Interrupt List/INT 2D DOS 2 RESERVED$ perl -ne 'if (/foo/) {$enable=1;}; if (/INP:/ and defined $enable) { $name = $prior; $name =~ s/(-[^-]*)$/\U$1/; $name =~ s/[\r\n]+$//; /al = ([0-9A-F]{2})h/; $al = $1; $filename = "INT 2D$al $name.txt"; $filename =~ s/\s*-\s*/ /; open our $handle, ">", $filename; print { $handle } "--------------------------------------------------------------------------------\n Unique ID: 2D--$al\n Category: G \tdebuggers/debugging tools\n Flag: n\/a\n--------------------------------------------------------------------------------\n\nINT 2D - $name\n$prior$_"; }; $prior = $_; if (defined $handle) { print { $handle } $_; }' ldebug.txt

The regexp before open should have used /g to replace multiple dashes.

@shidel
Copy link
Copy Markdown
Contributor

shidel commented Apr 3, 2026

@ecm-pushbx As I mentioned earlier, other than those _* filenames in the base of each group, sub-directory and filenames (as long as they end with .txt) are not important to makelist when it glues together a release.

In fact, if you feel the need to break something down into an additional sub-directory or rename one of them, go right ahead. The ones currently in use where just part of the automated process. :-)

@ecm-pushbx
Copy link
Copy Markdown
Contributor Author

Okay, thanks! I just emulated what I found so far. I'm considering renaming the directories for INT 2D and INT 21 because they don't fully reflect the use of those INTs. "INT 2D DOS 2 RESERVED" vs AMIS and "INT 21 DOS 1 Function Calls" (is this perhaps generated from "DOS 1+"?) vs all DOS versions. That would be fine, right?

@shidel
Copy link
Copy Markdown
Contributor

shidel commented Apr 3, 2026

Go for it. :-)

Sooner is better than later. Right now, it is just us. But, later their could (hopefully) be many contributors. At that time, constantly juggling around the main directories could get confusing to some people.

Yep file names, paths and directory depths just don't matter to makelist. It does a recursive file search and sorts things based on the UniqueID + Category from within the files. Other than the directory searching, it does nothing with those path/file names. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants