log in | register | forums
Show:
Go:
Forums
Username:

Password:

User accounts
Register new account
Forgot password
Forum stats
List of members
Search the forums

Advanced search
Recent discussions
- Drag'N'Drop Autumn edition now available (News:)
- !DualHead puts 2 screens in one (News:)
- RISC OS London Show 2017 - Notes from the talks (News:6)
- November News (News:)
- !Organizer 2.28 reviewed (News:2)
- !OBrowse reviewed (News:10)
- Aemulor (Gen:16)
- DDE reaches release 28 and above (News:)
- Elesar quicks dispels stormy clouds (News:2)
- RISC OS London Show 2017 (News:)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
Site Search
 
Article archives
The Icon Bar: Programming: The Hourglass and Vectors
 
  The Hourglass and Vectors
  sirbod (10:53 21/6/2012)
  sirbod (09:40 22/6/2012)
    sirbod (10:52 22/6/2012)
    Phlamethrower (12:12 22/6/2012)
      sirbod (13:34 22/6/2012)
 
Jon Abbott Message #120655, posted by sirbod at 10:53, 21/6/2012
Member
Posts: 563
What vectors does having the hourglass displayed trigger?

The reason I ask, is that if you display an hourglass (ie drop to BASIC and do SYS "Hourglass_On") and then try launching Sensible Soccer - it hangs.

This implies that having the hourglass displayed is possibly triggering a vector that SS takes over, although I can't see anything obvious in the PRM's.

I thought the hourglass was handled totally in hardware - am I missing something?
  ^[ Log in to reply ]
 
Jon Abbott Message #120668, posted by sirbod at 09:40, 22/6/2012, in reply to message #120655
Member
Posts: 563
Does the Hourglass use TickerV? How does it get animated?

I wish the online OS source code was searchable...I wouldn't need to keep asking!

EDIT: Found it eventually in the source, yes it does use TickerV.

[Edited by sirbod at 11:16, 22/6/2012]
  ^[ Log in to reply ]
 
Jon Abbott Message #120669, posted by sirbod at 10:52, 22/6/2012, in reply to message #120668
Member
Posts: 563
Next question, how do I intercept TickerV? I'm not sure how to stop claimants further down the chain from being called.

ie, the TickerV chain becomes the following whilst changing discs via hot-key:

1. Hourglass ticker code
2. My intercept code
3. ...claimants here on down aren't called

Once the disc image is loaded and the Hourglass is off, I can remove my intercept.

EDIT: Doh! Just pull the PC fro the stack to intercept.

[Edited by sirbod at 06:44, 25/6/2012]
  ^[ Log in to reply ]
 
Jeffrey Lee Message #120672, posted by Phlamethrower at 12:12, 22/6/2012, in reply to message #120668
PhlamethrowerHot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot Hot stuff

Posts: 15057
I wish the online OS source code was searchable...I wouldn't need to keep asking!
1. Download source
2. Learn to use grep
3. Profit!

If you're having trouble finding the source for specific modules then you can also look in ModuleDB.
  ^[ Log in to reply ]
 
Jon Abbott Message #120674, posted by sirbod at 13:34, 22/6/2012, in reply to message #120672
Member
Posts: 563
1. Steal underpants
2. ?
3. Profit!
  ^[ Log in to reply ]
 

The Icon Bar: Programming: The Hourglass and Vectors