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

add dogbait module #534

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

add dogbait module #534

wants to merge 4 commits into from

Conversation

israpps
Copy link
Contributor

@israpps israpps commented Feb 27, 2024

untested yet. awaiting confirmation on real hardware

did some tests on emulator, the cmd is called once per minute

@sp193
Copy link
Member

sp193 commented Mar 5, 2024

Out of curiosity, what happens if you boot the IOP without those modules (the DAEMON and LED, if I am not mistaken)?

@israpps
Copy link
Contributor Author

israpps commented Mar 5, 2024

Out of curiosity, what happens if you boot the IOP without those modules (the DAEMON and LED, if I am not mistaken)?

LED calls the blue led command directly (because arcade CDVDMAN has the export for that stubbed)

And DAEMON just calls mcdetectcard2 from DONGLEMAN once per minute

@sp193
Copy link
Member

sp193 commented Mar 5, 2024

I see. So if you hypothetically booted the IOP without DAEMON by specifying your own IOPBTCONF file, the System 246 will not be shut down?

@israpps
Copy link
Contributor Author

israpps commented Mar 5, 2024

I see. So if you hypothetically booted the IOP without DAEMON by specifying your own IOPBTCONF file, the System 246 will not be shut down?

Actually, DAEMON and LED are commented on the IOPBTCONF

According to krHACKen. SYSCON watchdog sets a timer. when consumed, a console poweroff is performed. And the blue led control Mechacon ncmd is the key to reset the watchdog timer

@israpps
Copy link
Contributor Author

israpps commented Apr 10, 2024

closing because krHACKen confirmed this is not helping to solve the issue.

rom0:DAEMON calls DONGLEMAN function mcdetectcard2 every minute.

I dont know, but somewhere, a command is issued to the MECHACON so it resets the SYSCON arcade watchdog.

An alternative is still needed. since data access from mc0 is unsafe while DAEMON is running. wich is pretty odd, since DONGLEMAN has an additional semaphore for this it seems (see references to the string create sema hakama)

@israpps israpps closed this Apr 10, 2024
@israpps israpps reopened this Apr 17, 2024
@israpps
Copy link
Contributor Author

israpps commented Apr 17, 2024

I used the wrong mecha command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants