Search found 5 matches

by RaichuBender
Fri Jun 18, 2021 10:42 am
Forum: CX16 General Chat
Topic: Trying to wait for VSYNC that never happens crashes my game (C programming)
Replies: 6
Views: 4054

Trying to wait for VSYNC that never happens crashes my game (C programming)

<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="11488" data-ipsquote-contentid="1475" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1624011085" data-ipsquote-userid="833" data-ipsq...
by RaichuBender
Fri Jun 18, 2021 10:04 am
Forum: CX16 General Chat
Topic: Trying to wait for VSYNC that never happens crashes my game (C programming)
Replies: 6
Views: 4054

Trying to wait for VSYNC that never happens crashes my game (C programming)

Currently, I'm wrapping a check whether the VSYNC occurred around the interrupt handler, which in turn sets a `vsync` boolean to true if it has. Will append the code of my implementation when I'm home in a bit, so you can give your input if you want <span><span class="ipsEmoji">?</span></span> <spa...
by RaichuBender
Fri Jun 18, 2021 2:56 am
Forum: CX16 General Chat
Topic: Trying to wait for VSYNC that never happens crashes my game (C programming)
Replies: 6
Views: 4054

Trying to wait for VSYNC that never happens crashes my game (C programming)

<blockquote class="ipsQuote" data-ipsquote="" data-ipsquote-contentapp="forums" data-ipsquote-contentclass="forums_Topic" data-ipsquote-contentcommentid="11479" data-ipsquote-contentid="1475" data-ipsquote-contenttype="forums" data-ipsquote-timestamp="1623984718" data-ipsquote-userid="149" data-ipsq...
by RaichuBender
Fri Jun 18, 2021 2:41 am
Forum: CX16 General Chat
Topic: Trying to wait for VSYNC that never happens crashes my game (C programming)
Replies: 6
Views: 4054

Trying to wait for VSYNC that never happens crashes my game (C programming)

Heya,<br /> <br /> I'm trying to wait for a VSYNC to occur, so the title screen of my game won't flicker.<br /> However, when setting the VSYNC bit of the EIN-register, it appears ISR is never set. Am I missing something? My code:<br />   <div> <pre class="ipsCode prettyprint lang-c prettyprinted">...
by RaichuBender
Wed Jun 16, 2021 3:48 pm
Forum: CX16 General Chat
Topic: A wild Raichu appeared!
Replies: 1
Views: 1061

A wild Raichu appeared!

Hey there everyone,  I'm Thomas, but you can call me Raichu. Pleased to meat ya all! I'm a programmer, software (reverse) engineer and game-developer-to-be from the Netherlands.  I'm currently interested in reverse engineering of game titles and have programmed a lot in SmileBASIC for the Nintendo ...