| Other BBSes » |
Atari coding BBS
|Re: ST Synclock system (again)|
Posted by: evil
A day late reply..
But, the Synclock demosys has no out-of-the-box feature for that kind of screens. It's made for synclock stuff foremost.
However, it's not that hard to add for a separate screen:
move.w #$2700,sr ;Stop all interrupts
clr.b $fffffa1b.w ;Timer B control (stop)
bset #0,$fffffa07.w ;Interrupt enable A (Timer B)
bset #0,$fffffa13.w ;Interrupt mask A (Timer B)
move.b #1,$fffffa21.w ;Timer B data (number of scanlines to next interrupt)
bclr #3,$fffffa17.w ;Automatic end of interrupt
move.b #8,$fffffa1b.w ;Timer B control (event mode (HBL))
You probably don't need to restore $120 either, the demosys does that at exit.
If all fails, I can help you with an example in a couple of weeks, much stuff to do before that.
[All messages in this thread]
Message board and comments are now read-only
Due to abuse of the message boards we have put the entire site in read-only mode. That means you can't post new threads or reply to old messages and you can't add
comments in VideoDB and PicDB.
Some messages have been erased from reading, but are stored in case they need to surface again.
After 17 years and 45000 messages we're shutting down due to one person.