Register

Search found 604 matches

Return to advanced search

SimonLothar
Thu Feb 16, 2017 7:15 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Serial communications
Replies: 19
Views: 33133

Re: Serial communications

Also, Critor lent me his SB-88A cable (I was using a Util-Pocket cable until now), and it looks like the bytes that are not 0x10 are a little crappy (the 0x05,0x30,0x30,0x30,0x37 packet, with deformations that look random). Have you tried such a cable? Have you found any solution to this since fxRe...
SimonLothar
Thu Feb 16, 2017 6:26 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Serial communications
Replies: 19
Views: 33133

Re: Serial communications

ocumentation says the 0x10 character is "Data Link Escape", and I found that there was no strict norm about how this character could be used. Also, here, it doesn't look like normal data escaping, so I don't really know how this thing work... I first noticed the 0x10 sequences with OsUpat...
SimonLothar
Thu Feb 16, 2017 5:56 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Serial communications
Replies: 19
Views: 33133

Re: Serial communications

cakeisalie5 wrote:So you're handling it in two different ways, as I can't do for now in libp7...
The USB-variant with an intermediate buffer should work for the serial interface as well. So it should be possible to work uniformly.
SimonLothar
Sat Feb 11, 2017 5:46 pm
 
Forum: Calculator Hacking/Modding Discussions
Topic: Serial communications
Replies: 19
Views: 33133

Re: Serial communications

I dug a bit deeper and had a look at nearly ten years old code. During the week I have been a bit short of time. Indeed there is a difference between serial and USB. In case of the serial interface,l it is possible to read one byte at a time. ////////// serial ////////// FUNCTION tSio.GetOne( p ...
SimonLothar
Sat Feb 11, 2017 2:08 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Serial communications
Replies: 19
Views: 33133

Re: Serial communications

I am not sure, if I understood your question right. If you use a filename like "COMx", you use the serial interface, t. i. CESG502 is not involved. If you use a filename, which you found by searching device "VID_07CF&PID_6101", you use USB. And then CESG502 is involved. Apart...
SimonLothar
Thu Feb 09, 2017 5:33 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Serial communications
Replies: 19
Views: 33133

Re: Serial communications

After the calculator receives the "set link settings" command it needs some time to open the serial interface again.
I use a delay of 100 ms, after I received the "set link settings" command's ACK-response.
SimonLothar
Sun Feb 05, 2017 5:46 pm
 
Forum: General
Topic: No FPU in fx-9860G II?
Replies: 6
Views: 5780

Re: No FPU in fx-9860G II?

Here the list of SH7337/SH7355 registers. With the interrupt priority- and port control-registers I enhanced the bit-incompatibilities compared to the SH7705 MPU. FFFFFFD0 dd dd TRA (Trap event) FFFFFFD4 dd dd EXPEVT (Exception event) INT (Interrupt) FFFFFEE2 dw dw IPRA (...
SimonLothar
Mon Jan 30, 2017 4:29 pm
 
Forum: Calculator Hacking/Modding Discussions
Topic: FONTCHARACTER Reference - compatibility, sets
Replies: 25
Views: 41903

Re: FONTCHARACTER Reference - compatibility, sets

cakeisalie5 wrote:the disassembler just puts it in another order than the official one
Funny thing, that. A disassembler which freely swaps the order of operands.
SimonLothar
Sun Jan 29, 2017 3:46 pm
 
Forum: Calculator Hacking/Modding Discussions
Topic: FONTCHARACTER Reference - compatibility, sets
Replies: 25
Views: 41903

Re: FONTCHARACTER Reference - compatibility, sets

Well, it looks like MB_strcpy doesn't use the result of MB_ByteCount. So anyway, yeah, that looks null-terminated. MB_ByteCount is called inside of MB_strcpy again. Well actually, the syscall I have here (OS 2.05, fx-9860GII-2) uses a cmp/gt , so it is < 0xLLFF (where 0xLL is the leading character)...
SimonLothar
Sun Jan 29, 2017 9:26 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: FONTCHARACTER Reference - compatibility, sets
Replies: 25
Views: 41903

Re: FONTCHARACTER Reference - compatibility, sets

First thing I saw was that the byte was read after the string was copied, so the length of the string looks unused (which means if they are stripped, this won't have any effect... unless some other syscalls use them?). I did not find any reference to the length-nibble. The length of an OpCodeString...
PreviousNext

Return to advanced search