- Top Stats

Top Posters Top Topic Starters Top Topics
TFM 514
ComSoft612... 289
Gryzor 282
Targhan 174
Ast 160
ComSoft612... 29
TFM 17
arnoldemu 15
Gryzor 12
Devilmarku... 11
BBS software /... - 560907 Views Octoate 21:00, 23 March 10
Arkos Tracker - 31762 Views Targhan 16:56, 20 February 10
SID tracker / ... - 26297 Views BSC 14:35, 05 November 13
SymbOS CPC upd... - 21610 Views Prodatron 00:18, 11 October 16
X-Mass Application - 20304 Views Ast 16:18, 04 March 16


Author Topic: AHEAD - Amsdos Header Utility for SymbOS SymShell  (Read 1744 times)

0 Members and 1 Guest are viewing this topic.

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 830
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1059
AHEAD - Amsdos Header Utility for SymbOS SymShell
« on: 02:12, 11 February 15 »
Today finally I found some time to write an Amsdos Header utility for SymbOS SymShell.
[attachimg=2]
You can remove and add these special 128byte Amsdos headers from/to files or just receive information about existing headers.

Usage:
Code: [Select]
AHEAD %r FILEMASK.EXT
    removes AmsDOS fileheaders from all files, if existing

AHEAD %a FILEMASK.EXT [%pBBBB[,LLLL[,XXXX[,TT]]]]
    adds AmsDOS fileheaders to all files, if not existing;
    the optional %p parameter specifies the begin BBBB,
    optional length LLLL, optional execution address EEEE
    and the optional file type TT (all HEX, 4 or 2 digits)
    Type can be 00=Basic, 01=Binary, 02=Screen, 13=ASCII

AHEAD %i FILEMASK.EXT
    displays AmsDOS fileheader information of all files

Example:
AHEAD %r *.PT3

Please note:
- AHEAD will only manipulate files, if there is an/no existing header
- you can use wildcards
- currently it has to be in the same directory like the files you want to edit
- when adding headers you can specify one or more details with the %P option

AHEAD is also part of the improvement of SymShell. The next version will provide the SymbOS path merging function for independant utilisation in external apps. This will also be used by the internal SymShell COPY command, which is currently not using the wildcard feature of SymbOS.

Thanks a lot to Craig and Kevin for your inspiration!!
I didn't test it yet on FAT device, as currently I don't have access to a real machine, and WinApe doesn't allow write access. If you find any issues, please write!

CU,
Prodatron
« Last Edit: 14:12, 16 February 15 by Prodatron »

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.238
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1153
Re: AHEAD - Amsdos Header Utility for SymbOS SymShell
« Reply #1 on: 03:03, 11 February 15 »
Today finally I found some time to write an Amsdos Header utility for SymbOS SymShell.
[attachimg=2]
You can remove and add these special 128byte Amsdos headers from/to files or just receive information about existing headers.

Usage:
Code: [Select]
AHEAD %r FILEMASK.EXT
    removes AmsDOS fileheaders from all files, if existing

AHEAD %a FILEMASK.EXT [%pBBBB[,LLLL[,XXXX[,TT]]]]
    adds AmsDOS fileheaders to all files, if not existing;
    the optional %p parameter specifies the begin BBBB,
    optional length LLLL, optional execution address EEEE
    and the optional file type TT (all HEX, 4 or 2 digits)
    Type can be 00=Basic, 01=Binary, 02=Screen, 13=ASCII

AHEAD %i FILEMASK.EXT
    displays AmsDOS fileheader information of all files

Example:
AHEAD %r *.PT3

Please note:
- AHEAD will only manipulate files, if there is an/no existing header
- you can use wildcards
- currently it has to be in the same directory like the files you want to edit
- when adding headers you can specify one or more details with the %P option

AHEAD is also part of the improvement of SymShell. The next version will provide the SymbOS path merging function for independant utilisation in external apps. This will also be used by the internal SymShell COPY command, which is currently not using the wildcard feature of SymbOS.

Thanks a lot to Craig and Kevin for your inspiration!!
I didn't test it yet on FAT device, as currently I don't have access to a real machine, and WinApe doesn't allow write access. If you find any issues, please write!

CU,
Prodatron
fantastic work prodatron, will test it tomorrow on some pt3 files with known headers.

Then I'll let you know.

Offline Edoz(MSX)

  • CPC664
  • ***
  • Posts: 105
  • Country: nl
  • Liked: 131
Re: AHEAD - Amsdos Header Utility for SymbOS SymShell
« Reply #2 on: 11:42, 16 February 15 »
Very nice!!!

Offline CraigsBar

  • Supporter
  • 6128 Plus
  • *
  • Posts: 3.238
  • Country: ie
  • The party ain't over yet
    • index.php?action=treasury
  • Liked: 1153
Re: AHEAD - Amsdos Header Utility for SymbOS SymShell
« Reply #3 on: 12:13, 16 February 15 »
Sorry for the delay, Life has got in the way.


However I now have some free time ot tet, and the ZIP seem corrupted, I am unable to extract the file :(


Edit: OK Not zipped, just renamed. Copied over to my X-Mass and working fine :)


Many thanks
« Last Edit: 12:36, 16 February 15 by CraigsBar »

Offline Prodatron

  • 6128 Plus
  • ******
  • Posts: 830
  • Country: de
  • Back on the Z80
    • index.php?action=treasury
    • SymbOS SYmbiosis Multitasking Based Operating System
  • Liked: 1059
Re: AHEAD - Amsdos Header Utility for SymbOS SymShell
« Reply #4 on: 14:13, 16 February 15 »
Glad, that it's working! Sorry for the "ZIP", I just replaced it :)

GRAPHICAL Z80 MULTITASKING OPERATING SYSTEM