Access Matrix Functions From Sharp BASIC?

08042023, 01:20 AM
Post: #1




Access Matrix Functions From Sharp BASIC?
Quite a while back, there was a post detailing how to access the builtin matrix functions from a BASIC program on a particular model of a Sharp pocket computer. I looked everywhere I could think of but I can't find the thread. Can anyone help?
Tom L Cui bono? 

08042023, 02:41 AM
Post: #2




RE: Access Matrix Functions From Sharp BASIC?
All My Articles & other Materials here: Valentin Albillo's HP Collection 

08042023, 05:09 AM
Post: #3




RE: Access Matrix Functions From Sharp BASIC?
(08042023 02:41 AM)Valentin Albillo Wrote: . Thanks! Now I just have to see if Hrast has created a table of entry points for the PCE500S. Tom L Cui bono? 

08092023, 11:58 AM
Post: #4




RE: Access Matrix Functions From Sharp BASIC?
(08042023 05:09 AM)toml_12953 Wrote: Thanks! Now I just have to see if Hrast has created a table of entry points for the PCE500S. No, just PC1403. And even on 1403 (some) addresses are probably different with different ROM revisions (if there are any). https://www.hrastprogrammer.com/hrastwood/ https://hrastprogrammer.bandcamp.com/ 

08132023, 11:51 PM
Post: #5




RE: Access Matrix Functions From Sharp BASIC?
(08042023 05:09 AM)toml_12953 Wrote: Thanks! Now I just have to see if Hrast has created a table of entry points for the PCE500S. You will find the procedure in the PCE500 technical manual, that you can download here, among other interesting documents: https://github.com/RobertvanEngelen/Fo.../resources The relevant pages are 31 and 7982. So, for example, if you want the determinant of the matrix X: POKE &BFE00, 9, 1, &4C : CALL &FFFDC And the result is in the variable X Then, if you want the inverse of X: POKE &BFE02, &45 : CALL &FFFDC Now, if you want to store the new matrix X in the matrix ME: POKE &BFE02, &52, ASC("E") : CALL &FFFDC And so on... JeanCharles 

08142023, 12:01 AM
Post: #6




RE: Access Matrix Functions From Sharp BASIC?
(08132023 11:51 PM)Helix Wrote:(08042023 05:09 AM)toml_12953 Wrote: Thanks! Now I just have to see if Hrast has created a table of entry points for the PCE500S. Fantastic! Thanks so much. Tom L Cui bono? 

08142023, 03:30 AM
Post: #7




RE: Access Matrix Functions From Sharp BASIC?
(08132023 11:51 PM)Helix Wrote:(08042023 05:09 AM)toml_12953 Wrote: Thanks! Now I just have to see if Hrast has created a table of entry points for the PCE500S. Do you know what "scholar" means? is it like "scalar"? Tom L Cui bono? 

08142023, 09:15 PM
Post: #8




RE: Access Matrix Functions From Sharp BASIC?
(08142023 03:30 AM)toml_12953 Wrote: Do you know what "scholar" means? is it like "scalar"? Yes, "scholar" means scalar. For these operations, you store the value of the scalar in the variable X. There are sometimes weird formulations in this document, perhaps because it was written by Japanese people? I was intrigued by the "reversion of symbols" function. In fact, it’s the +/ operation in matrix mode. I have not tested all the matrix functions, but they should work. JeanCharles 

08152023, 02:43 AM
Post: #9




RE: Access Matrix Functions From Sharp BASIC?
(08142023 09:15 PM)Helix Wrote:(08142023 03:30 AM)toml_12953 Wrote: Do you know what "scholar" means? is it like "scalar"? I've tested determinant, inverse and simultaneous equations (which is really just an inversion and multiplication.) They work very fast and return the correct answers. I'm a happy camper. Tom L Cui bono? 

« Next Oldest  Next Newest »

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