Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO: StaffRoll Draw() investigations #13

Open
Alex4386 opened this issue Jun 10, 2019 · 2 comments
Open

TODO: StaffRoll Draw() investigations #13

Alex4386 opened this issue Jun 10, 2019 · 2 comments
Labels
enhancement New feature or request Expected To do list

Comments

@Alex4386
Copy link
Collaborator

image

The Original Author programmed this as static 16fps, (since I don't really know about PC9801's internal rendering logic, I can't)

Current Plans

there still is a todo: ventralize image and figure out the actual timing of some if statements,
which might help if we have a reverse engineered it. (will check ReC98 Repository, later on)
(I hope my assembly skills got better while taking Linux Reverse Engineering classes (Bad news, I learned it with Intel flavored one)

Reverse Engineering Trials

Self-Reverse Engineering Trials failed,
Ollydbg doesn't work. ( might because of my machine is 64bit ) .
Ghidra framework by NSA with i386 real-mode settings, that didn't work either.
DOSBox failed because it is for generic ones not specific to NEC PC-9801.

@Alex4386 Alex4386 added enhancement New feature or request Expected To do list labels Jun 10, 2019
@Alex4386
Copy link
Collaborator Author

update: I don't have IDA Pro, :(
Trying to read the assembly for now

@Alex4386 Alex4386 added this to the Implementation milestone Jun 11, 2019
@Alex4386
Copy link
Collaborator Author

Alex4386 commented Jun 11, 2019

Reverse Engineering MegaThread

Finding Entrypoint:

https://stackoverflow.com/questions/3715618/how-does-dos-load-a-program-into-memory

References and Investigation Purpose:

MS-DOS Repository

Touhou Project Series is expected to run on MS-DOS 3.0+, is it ok to check it as references?
Microsoft/MS-DOS

IMAGE_DOS_HEADER

https://docs.microsoft.com/en-us/windows/desktop/debug/pe-format#ms-dos-stub-image-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Expected To do list
Projects
None yet
Development

No branches or pull requests

1 participant