Register

Search found 606 matches

Return to advanced search

SimonLothar
Sat Mar 25, 2017 6:17 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Syscalls (serial communication, ...)
Replies: 11
Views: 34247

Re: Syscalls (serial communication, ...)

It looks as if AutoImageTransfer_OHP basically sends the sequence 0B 54 59 50 30 31 followed by the screen image (0x400 bytes, freshly retrieved using syscall 0x024). A checksum is calculated over these 0x406 bytes by subtracting the bytes (SUB Rm,Rn) starting with checksum=0 (Rn=0).  I have to cor...
SimonLothar
Fri Mar 24, 2017 10:55 pm
 
Forum: Calculator Hacking/Modding Discussions
Topic: Syscalls (serial communication, ...)
Replies: 11
Views: 34247

Re: Syscalls (serial communication, ...)

- Screenstreaming-related: for what I know, when you call the system functions, they call other functions, in screenstreaming mode, for sending the screen, but is there a way to call these functions in a separate way (know if screenstreaming is enabled, send a VRAM), in order to implement them in s...
SimonLothar
Fri Mar 24, 2017 10:19 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Syscalls (serial communication, ...)
Replies: 11
Views: 34247

Re: Syscalls (serial communication, ...)

- Screenstreaming-related: for what I know, when you call the system functions, they call other functions, in screenstreaming mode, for sending the screen, but is there a way to call these functions in a separate way (know if screenstreaming is enabled, send a VRAM), in order to implement them in s...
SimonLothar
Fri Mar 24, 2017 8:31 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Syscalls (serial communication, ...)
Replies: 11
Views: 34247

Re: Syscalls (serial communication, ...)

- There are several packet preparing function , and a packet receiving function , but I couldn't find, in your reference, any function to send a packet using the structure. What should I use, and how? 0x02DA: int Comm_SendPacket( TCommSendPacket*p ); see fxReverse.PDF p. 14 struct TCommSendPacket{ ...
SimonLothar
Sun Mar 19, 2017 10:02 am
 
Forum: General
Topic: FX-9860 GII system error when launching G1As
Replies: 7
Views: 19504

Re: FX-9860 GII system error when launching G1As

Alas, syscall 0x24A is no longer compatible between SH-3- and SH-4A-systems. Hence the SH-4A version would not work with SH-3 machines. Above that syscall 024A is not able to detect more than one key hit at a time. Possibly this could be a problem with the difficult parts of the game. So I provided ...
SimonLothar
Thu Mar 16, 2017 7:12 am
 
Forum: Calculator Hacking/Modding Discussions
Topic: Syscalls (serial communication, ...)
Replies: 11
Views: 34247

Re: Serial Communication

cakeisalie5 wrote:...but I couldn't find the Comm_TransmitNBytes referenced in the syscalls reference's prototype. Is it the same than Serial_BufferedTransmitNBytes (0x40F) documented in the Serial page?
Yes, seems to have the same interface.
SimonLothar
Sun Mar 12, 2017 3:37 pm
 
Forum: General
Topic: FX-9860 GII system error when launching G1As
Replies: 7
Views: 19504

Re: FX-9860 GII system error when launching G1As

I also replaced key_down (in key.c) with
Code: Select all
unsigned char key_down(unsigned char code)
{
short keycode;
   keycode = ( ( code & 0xF0 ) << 4 ) | ( code & 0x0F );
   return (*SysCall)((int)&keycode, 0, 0, 0, 0x24A);
}

So far Gravity Duck runs without detectable errors.
SimonLothar
Sun Mar 12, 2017 1:34 pm
 
Forum: General
Topic: FX-9860 GII system error when launching G1As
Replies: 7
Views: 19504

Re: FX-9860 GII system error when launching G1As

Another issue in Gravity Duck's time.c: #include "time.h" static int SysCallCode[] = {0xD201422B,0x60F20000,0x80010070}; static int (*SysCall)( int R4, int R5, int R6, int R7, int FNo ) = (void*)&SysCallCode; int time_getTicks() { return (*SysCall)(0, 0, 0, 0, 0x3B); } static int SysCa...
SimonLothar
Sun Mar 12, 2017 11:34 am
 
Forum: General
Topic: FX-9860 GII system error when launching G1As
Replies: 7
Views: 19504

Re: FX-9860 GII system error when launching G1As

Yes. There are a few syscalls, which are no longer supported with newer OSes (f. i. MMU syscalls). Syscall 0x42E (Bfile_GetMediaFree_OS) is sometimes the reason for problems. Some older addins bypass syscalls. The use of absolute addresses or direct register accesses usually leads to incompatible pr...
SimonLothar
Fri Mar 10, 2017 8:22 am
 
Forum: General
Topic: New fx-9860GII + OS 2.05 for France
Replies: 9
Views: 30580

Re: New fx-9860GII + OS 2.05 for France

One of the things which interests me is not exam mode but timers and getkey functionality making status bar display changing every second or so for example. The inverse "R" is displayed from out of the central input loop and under special circumstances inside of the display refresh routin...
PreviousNext

Return to advanced search