Post Reply 
Sharp PC-1500A Compiler
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 


Messages In This Thread
Sharp PC-1500A Compiler - Josef - 11-21-2024, 06:05 AM
RE: Sharp PC-1500A Compiler - Jeff_Birt - 11-21-2024, 03:34 PM
RE: Sharp PC-1500A Compiler - Josef - 11-22-2024, 05:49 AM
RE: Sharp PC-1500A Compiler - Josef - 11-27-2024 08:25 PM



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