
Whats New
Because I'm working very hard on the new PCOM which is currently in beta, I decided to create a Whats New-page, so that you can read the new benefits of the new version.
PCOM v2.6 beta 2 ->
PCOM v2.6 beta 3
Added: !...:.. Check the filesize of a file. Syntax: !<filename>:<size>. The size must be in bytes.
Added: +... and - translation to .ASM support.
Added: User I/O for the assembly output (like filesize after compilation).
Fixed: $SBD Set Boot Disk function.
Fixed: $CDR:\ gave some problems, problem solved.
PCOM v2.6 beta 3-> PCOM
v2.6 beta 4
Added: $INC:... Includes script ... into the current script. (Handy for logos).
Added: $CUR:X,Y translation to .ASM support.
Added: $DSK:... translation to .ASM support.
Added: $DEL:... translation to .ASM support.
PCOM v2.6 beta 4-> PCOM
v2.6 beta 5
Added: $FAR:XX>YY Find and Replace stream XX into stream XX. (Handy for generic patches).
Added: $FDB Makes full windows DOS-box (Win95/Win98/NT).
Added: $CDR:... translation to .ASM support.
Added: $MDR:... translation to .ASM support.
Added: $RDR:... translation to .ASM support.
Added: $FDB translation to .ASM support.
PCOM v2.6 beta 5-> PCOM
v2.6 beta 6
Added: /d Decimal to hex number conversion.
Added: /h Hex to decimal number conversion.
Added: $SLP translation to .ASM support.
Added: $REN:...>... translation to .ASM support.
Fixed: $REN:...>... function. With special thanks to Onyx for helping me out!
Fixed: !...:... Didn't quit on 'File not found!', now it does.
PCOM v2.6 beta 6-> PCOM
v2.6 beta 7
Added: ?... variable support for @..., +..., #... and "....
Added: $Y/N translation to .ASM.
PCOM v2.6 beta 7-> PCOM
v2.6 beta 8
Added: -e argument. This will encrypt the output .COM or .EXE file.
Added: -i argument. This will include anti-hacker code into the .COM or .EXE file.
Added: #... translation to .ASM.
Added: ) translation to .ASM.
Added: ( translation to .ASM.
Fixed: End of line correction. When you use the " or ' commands, spaces and tabs after the line will be seen as valid charakters, so 'EB__ will create EB5959. Thanks to an 'Anonymous Cracker'.
PCOM v2.6 beta 8-> PCOM
v2.6 beta 9
Added: >...:... translation to .ASM
Added: |...:,,, translation to .ASM
Added: '... translation to .ASM
Added: "... translation to .ASM
Fixed: *... function failed on code, which didn't open a file. Thanks to Onyx.
Fixed: Empty lines where seen as incorrect code.
Fixed: $RUN command, which didn't work after a ANSI command. Thanks to 'ThE RiPpeR'.
PCOM v2.6 beta 9-> PCOM
v2.6
Added: $REP:x makes it possible to create loops. Loops may be nested.
Fixed: $INC command removed last character of the include filename.
PCOM v2.6 -> PCOM v2.7
beta 1
Improved: The $REP:x jump offset was too small, it's increased.
Added: $CHL for 80x50 charakter mode.
Added: $SOUND:x,y which playes the sound x for y periods of time.
Added: $NOSOUND, otherwise the sound keeps playing.
Added: $FNT:.. which changes the default text font. Remember to use the $FDB first within a Win95/98/NT environment, because of the fact that the font will be emulated in a dosbox.
PCOM v2.7 beta 1 ->
PCOM v2.7 beta 2
Added: The /b option, which shows the ASCII-table using decimal notation.
Added: PCOM.CFG configuration file. Thanks to Tukky for the idea .(See the FAQ for more info).
Added: The /g option. which shows the result of the argument configuration found in the PCOM.CFG file and, if used, the arguments used in the command line.
Added: @~xx:... command for colored output line to the screen. The xx is the colornumber with can be found using the PCOM /o command. Thanks to Tukky for the idea and the example code.
Added: $CCS:xx clears the screen colored with value xx. The xx value is hex notated and can be found using the PCOM /o command.
PCOM v2.7 beta 2-> PCOM
v2.7 beta 3
Added: $EXIT:x command exits the executable using ERRORLEVEL x. Very usefull with the $case command.
Added: $CASE command creates the possibility to create menu cases. (See the example page for detailed information). Thanks to Eðvald Ingi Gíslason for this idea and supplied information.
Enhanced: ?.. command. The cursor was jumping over the screen with the older version. Now there is a check on <ctrl>C and <alt> key presses. Thanks to 'Dreamless Sleep' for the given enhanced source.
PCOM v2.7 beta 3-> PCOM
v2.7 beta 4
Added: $WIN command checks if the program is running under Windows. If not, the program quits using ERRORLEVEL 1 and the standard 'This program cannot be run in DOS mode.' errormessage.
Added: $TTL:... command changes the Windows(95/NT) messagebox-title into the ... string.
PCOM v2.7 beta 4-> PCOM
v2.7 beta 5
Fixed: The "... writing a variable didn't work with the new ?... command. Thanks to Rusty for reporting and helping me out! For this problem I had to enhance PCOMs debug features.
PCOM v2.7 beta 5-> PCOM
v2.7 beta 6
Fixed: The #... using a variable. Thanks to Sas for reporting.
Fixed: The +... using a variable. Thanks again to Sas for reporting.
Added: @~!:... command, writes string ... without the <cr><lf>, which can be used before a ?... command so that the cursor is behind the question, instead of underneath it. Thanks to Sas for the idea.
Added: +...>... command. Like the +... command, but when the file is not found, the ... message after the > is shown. For example.: ?Test.exe>Couldn't find the 'Test.exe' input file. Bases on an idea of Sas.
Added: Variable support for the $CDR:... command.
Added: Variable support for the $MDR:... command.
Added: Variable support for the $CDR:... command.
Added: Variable support for the $DEL:... command.
PCOM v2.7 beta 6-> PCOM
v2.7 beta 7
Added: The $HEX:%1>%2 command which converts variable %1 into hex and stores that result into the new vatiable %2. Example: $hex:%Name%>HexName.
Added: The $DEC:%1>%2 command which converts variable %1 into dec and stores that result into the new variable %2. Example: $dec:%Name%>DecName.
PCOM
v2.7 beta 7-> PCOM v2.7 beta 8
Added: The $VAR:%1>... command, which creates a variable %1 with ... as contents. Thanx to Fusion for this idea and your great help!
Added: The $VCP:%1>%2 command, which copies variable %1 into variable %2. Once again creditz to Fusion.
Added: The $VCT:%1>%2 command, which appends variable %1 behind variable %2.
Added: The $FND:... command, which searches in the open file for the hexadecimal ... stream. When no occurrence is found the executable quits using ERRORLEVEL 1 and a 'Occurrence not found!'-message. Based on an idea from Pascal Thiault, thanx for your help!
Added: Variable support for the @~XX:... command. Well Sas, as requested!
PCOM
v2.7 beta 8-> PCOM v2.7 beta 9
Added: The <XXXX:XXXX command, which moves the file pointer xxxx:xxxx positions backwards. The value is hex notated. Requested by Rafa.
Added: The $UFN command, which creates and opens a file with an unique filename.
Added: Variable support for the $REN:...>.. command. The following tricks are fully supported: $ren:IN.TXT>OUT.TXT, $ren:IN.TXT>%Var%, $ren:%Var%>OUT.TXT and $ren:%Var%>%Var%. Another request by Rafa.
Fixed: The $fnd command didn't worked well, in other words: it was lousy! After several days I solved all the problems (I think;-). With special thanx to Rafa for the report and helping me testing!
Updated: The /o command is enhanced. (Read the FAQ for this purpose).
PCOM
v2.7 beta 9-> PCOM v2.7
Fixed: $VCT:... fixed, when using the "... command not the complete string was written into the file.
Changed: The default extention is changed from .SCR into .SRC (script->source), so you can associate Windows to PCOM-sourcefiles.
Changed: The !...:... command is changed into the !... command. The !... command is faster and smaller. Thanks to 'Dreamless Sleep' for the code. The command is NOT downwards compatible, PCOM will notify when compiling the old style command.
Added: $VBC:%1>.., which enables you to copy use binary values in variables, ie. 0Ah, 0Dh, 07h, 08h, 20h etc., into a new variable.
Added: $VTR:%Var%>XX, which truncates the variable %Var% length to XX (XX=dec). So when you need a string with maximum length of 6 use: $VRT:%Name%>6.
Added: $VUP:%Var%, which changes the variable %Var% into uppercase.
Added: $VLW:%Var%, which changes the variable %Var% into lowercase.
Added: $CCL:XX, clear colored line from the current cursor postition util the end of the line.
Added: $UFN translation to .ASM.
Added: The -l option, which enables long filename support. , without his excelent help and sources there still would be no lfn-support in PCOM. Using long filename support will increase the generated executable code, so if you not necessarily need long filenames in your source, don't use the -l option.
PCOM
v2.7 -> PCOM v2.8 beta 1
Fixed: .EXE bug when using the $case command. Thanks to Sixa.
Added: !..:..>.. command. This command was removed in the v2.7 final release, but on many requests it is back and enhanced! Syntax: !<filename>:<size>><comment>, you do not have to open the file. This routine doen't understand long filenames.
Added: $ARG:%1-command, which puts the used arguments into the existing variable %1. See the example page for more details.
Added: $arc:.., which says .. when no argument is found.
Added: $EJECT to open the CD-ROM tray (ATAPI compatibles only).
Added: $CLOSE to close the CD-ROM tray (ATAPI compatibles only).
Added: $ON_ERR to create your own errorhandling routine. Based on an idea from Derek Leung. See the example page for more details.
Added: $ERR:OF|OFF to enable/disable the created errorhandling routine.
Note: Thanks to Diamond for notifing me about compatibility problems with the WinXF22.zip from the sources page. Once again thanks to Sixa for notifing me that the $cdr:.. comments in the documentation is outdated.
PCOM
v2.8 beta 1-> PCOM v2.8 beta 2
Added: Variable support for the $RUN:... command. Read the manual or example page on how to use this feature. Requested by Gianchy.
Added: =..>.. command, so that it is possible to tell yourself that the value of the current fileposition differs. Requested by KingGatso.
Added: The -p executable file compression option. This option works like PkLite(tm) and LzExe(tm) and reduces the size of the .COM/.EXE file.
PCOM
v2.8 beta 2-> PCOM v2.8 beta 3
Added: ?~xx:... command. Just like the ?... command, but the input length is restricted to xx charakters (xx is decimal). Requested by Sas.
Fixed: ?... and ?~xx:.. command should support <esc> and <cltr>-C, but they didn't, now they do.
Added: $CDB-command, which closes the current DOS-box.
Added: $FCS-command, which focus the current DOS-box. The effect is like $FDB, accept the screen doesn't clear.
Added: $CLIP:..-command, which copies the ... into the Windows clipboard (cut & paste). The function supports variables.