NefMoto

Noob Zone => Noob Questions => Topic started by: Dejw0089 on April 13, 2020, 11:38:32 AM



Title: KFZW 16 bit load axis
Post by: Dejw0089 on April 13, 2020, 11:38:32 AM
Can anyone tell me something about this changes?
I compare two M box files and I see load axis patch

In ori file we have
FC FE 00 C2 FD 8B F9 F2

In patched
FC 30 00 F2 FD 90 F9 F2

And #2 patch
ori
00   D2   75   F6
mod
00   42   76   F6

And know that changes

FC FE 00 -> FC 30 00 is new adress for load axis 10030 but anyone can help with rest?

I know you told me learn ASM but i know it can explain that in hex word


Title: Re: KFZW 16 bit load axis
Post by: mophk on July 01, 2021, 08:33:19 AM
bumping this as I have not found anything about this and would like to know more.


Title: Re: KFZW 16 bit load axis
Post by: Vollmer on July 01, 2021, 12:41:59 PM
"Learns ASM, or Assembly Code",...

but for what assembler? It is different for each program?

Like telling one to learn a secret language, but never telling them what it's called.

From an outsider's perspective

Wikipedias :
"Each assembly language is specific to a particular computer architecture and sometimes to an operating system.[9] However, some assembly languages do not provide specific syntax for operating system calls, and most assembly languages can be used universally with any operating system, as the language provides access to all the real capabilities of the processor, upon which all system call mechanisms ultimately rest. In contrast to assembly languages, most high-level programming languages are generally portable across multiple architectures but require interpreting or compiling, a much more complicated task than assembling."

I might start reading Here:
https://www.ic.unicamp.br/~ducatte/mc404/2010/docs/beginner_avr.pdf


Title: Re: KFZW 16 bit load axis
Post by: nyet on July 01, 2021, 02:14:59 PM
Like telling one to learn a secret language, but never telling them what it's called.

Anyone with a CS degree knows what ASM is, it isn't a secret.


Title: Re: KFZW 16 bit load axis
Post by: timus on July 02, 2021, 03:27:38 AM
Some keyword for you checkout: c166/c167 Assembler, c166 Instruction Set Manual


Title: Re: KFZW 16 bit load axis
Post by: RBPE on July 02, 2021, 07:19:32 AM
If you're asking why loads are increased rather than how to do it learning asm etc, then the FR will tell you.

Alternatively, theres some info on here regarding iop/irl inverses, extending past ambient for boost loads etc which should give you an idea. Prj's post here for example.

http://nefariousmotorsports.com/forum/index.php?action=printpage;topic%3D3765.0

And the ST/Keil datasheets should help you with regards to reverse engineering c166/c167.


Title: Re: KFZW 16 bit load axis
Post by: nyet on July 02, 2021, 01:00:48 PM
Some keyword for you checkout: c166/c167 Assembler, c166 Instruction Set Manual

Instruction set manuals are also often called "Programming Models" or something similar.


Title: Re: KFZW 16 bit load axis
Post by: Blazius on July 02, 2021, 02:42:55 PM
Upload the original and patched file ?


Title: Re: KFZW 16 bit load axis
Post by: mophk on August 05, 2021, 07:03:17 AM
Upload the original and patched file ?

https://files.s4wiki.com/patched/