Post Reply 
Sharp PC-1500A Compiler
11-21-2024, 06:05 AM
Post: #1
Sharp PC-1500A Compiler
Has anyone tried this program? Unfortunately, it doesn't work for me, and after running RUN, some initialization takes place without error, but the program exits and DEF commands don't work.

http://www.pc1500.com/abc-compiler.html
Find all posts by this user
Quote this message in a reply
11-21-2024, 03:34 PM
Post: #2
RE: Sharp PC-1500A Compiler
No, have not used that one. I use the TASM extension I wrote for VS Code:

https://github.com/Jeff-Birt/TASM_vsCode_Extension

Also helpful is the PC-1500 library builder:

https://github.com/Jeff-Birt/Sharp_PC-1500_Lib_Builder
Find all posts by this user
Quote this message in a reply
11-22-2024, 05:49 AM
Post: #3
RE: Sharp PC-1500A Compiler
Thank you for the info. The program as such works, in fact all commands work, only the IF...GO command doesn't work, strange. But GO itself works.
Find all posts by this user
Quote this message in a reply
11-27-2024, 08:25 PM
Post: #4
RE: Sharp PC-1500A Compiler
Heureka, I figured it out!

In line 6510, it should not be &B5 but must be &BE (SJP i,j) instruction at address D0D2H, where two variables are compared.

The program actually couldn't work for anyone all the time, there were two errors.

3500:POKE P,&B5,&79,&AE,&38,&D2,&B5,X,&AE,&38,&D3,&B5,&79,&AE,&38,&D0,&B5,Y

6510:POKE P+18,&BE,&3A,&C4,&B5,ZZ,&BE,&D0,&D2,&89,2,&8E,3,&BA,Y,Z

I would stress to users that the _STOP function is absolutely necessary, otherwise the program will "wander" in RAM.

I will improve the program with other functions like SIN, COS, TAN or LOG.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)