VOGONS


First post, by PalMusicFan

User metadata
Rank Newbie
Rank
Newbie

In order to get an accurate and stable clock to play OPL2 BGM, I need to reprogram the 8254 to obtain a higher frequency int 8h.

However, after consulting a lot of information, it seems that this is quite cumbersome for DJGPP.

PCTIMER (https://technology.chtsai.org/pctimer/) seems to fully meet my requirements. After dealing with some minor issues, it compiled successfully.

However, I found that although the program seemed to be running, the real-mode handler named rm_new8h was not called at all, and the original BIOS handler was still called 1:1.

What is the problem? Thank you so much!

Reply 1 of 1, by zyzzle

User metadata
Rank Member
Rank
Member

May we test your compiled DJGPP binary? Or were you not able to compile the DJGPP version, and only got the real-mode timer compiled successfully?