PB - 1000
 

 

Site Home

PB-1000 Home

Informations

The ASM codes

The Memory

The Disassembler

Programs

Hardware

 

PROGRAMS

TRANSFERT PC --> PB-1000

- In order to avoid having to type all theses progs, the FA-7 interface or MD-100 disk drive is needed.

- WARNING: with FA-7 interface, only ASCII transfer files is possible.

- Unfortunately, I have never seen any self made interface for PB-1000 !

- In order to transfer files ( ASCII only ), WINDOWS serial link TERMINAL (windows 3.1) or HYPER-TERMINAL (w95 et w98) is needed.
Notice: TERMINAL works better ... !

- Program parameters are:

- Speed transmission : 4800 (or 9600 if batteries are new)
- Data Bit : 8
- Stop Bit : 1
- Parity: None
- Buffer control : Xon/Xoff
- Ports: 2 or 1 (the one you use)

- Text transfer files : buffer control : Standard

- TERMINAL parameters files is:

PB-1000.TRM

Save the file in TERMINAL directory then, after launching TERMINAL clic on Files+open+PB-1000.TRM.
Notice: If you save this configuration file under TERMINAL.TRM, it will be automaticaly used at TERMINAL startup.

Receiving TEXT files

- Receiving ASCII file from the PB-1000:

- On the PB-1000 press [LOAD] then [RS232] and select connection parameters identical to the PC ones.
- Switch interface ON (left switch).
- Press ENTER
- Send file from PC.

This creates automatically a new text file (ASCII) without name containing the transfered datas.

Receiving BASIC files

- must be done in 2 parts:

1°) receiving the ASCII file

Act as for a classic ASCII file and name it "prog.txt" for example.
2°) Convert it into BASIC file

Create an empty BASIC file and press [EDIT].
In this empty BASIC file, type the folowing command:

LOAD "prog.txt" + ENTER

This loads the ascii file and CONVERTS it into BASIC code.
Then, the original TEXT file "prog.txt" can be deleted.

 

PROGRAMS:

Language and machine indicated

- ROM Disassembler (Basic, PC) Link

- ROM / RAM Disassembler (Assembler, PB-1000): Link

- Search: search codes in memory (basic+assembler, PB-1000):

Download "Search"

Use:
1) - Reserv 200 bytes to assemble the program: CLEAR, 200
2) - Assemble the asm source into "search.EXE"
3) - Executes the BASIC source file: type the wanted hexadecimal codes one by one.
4) - Press [ENTER] to launch the search
5) - The prog prints the data found adress (if exists)
6) - Press [ENTER] againto earch again.

 

- Clearam: (Assembler, PB-1000 - 62 bytes) clear unused memory . Writes &H00 value everywhere in unused RAM . Avoid BASIC, ASCII and EXECUTABLE files and data in memory. Very useful before using "Search":

Download "Clearam"

Use:
1) - Reserv 200 bytes to assemble the program: CLEAR, 200
2) - Assemble the asm source into "clearam.exe"
3) - Executes "clearam.exe" and wait 1.5 seconds: Et c'est FINI !

 

- Progsize: (Basic, PB-1000 - 442 bytes) Print Start and End adress of each PB-1000 file and its size (in hexadecimal). Very useful to know files size and memory position:

Download "Progsize"

 

- VALF : (assembler, PB-1000) equivalent to FX-850P "valf (A$)" function, allow calculating numerical value of a mathematical expression stored into a character string.
Ex : F$ = "3 * x + 5" and x = 2 then CALL "VALF",F$,Y will set Y with the value 11. I am not the author of this function. self-creating executable Basic file


- CVOCTASC: convert byte into corresponding ASCII hexadecimal string.

Download "CVOCTASC"

Use:
IN: $0 = byte to display in hexadecimal
OUT: $1=ASCII High quartet code , $0=ASCII Low quartet code

 

- CVASCDEC: convert byte into corresponding decimal ASCIIstring and prints it on screen.

Download "CVASCDEC"

 

- RENUM : renum 10 by 10 a basic listing. (from PB-1000 documentation):

Download "RENUM"

Use:
1) - Reserv 200 bytes to assemble the program: CLEAR, 200
2) - Assemble the program into "RENUM.EXE"
3) - While editing a BASIC file, type : CALL "RENUM.EXE"

 

- INST-TST : ND code identification (assembler, PB-1000):

Allows visualisation of registers results after executing an unknown instruction.

Download "INST-TST.asm"

 

- Mov-rom: Move ROM data into ASCII file (assembler, PB-1000), Useful for the BASIC disassembler to get a ROM image file.

Download "Mov-rom"

 

 


Airbug.two 2002