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
- The South-West Show Report 2018 (News:)
- The South-West Show 2018 in pictures (News:)
- AMCS free versions are live! (Gen:12)
- New RISC OS !FamTree application reviewed (News:1)
- Returning to ImpressionX (News:)
- RISC OS interview with Richard Keefe (News:2)
- South West Show is fast approaching (News:4)
- January News Round-up (News:)
- NetFetch reaches Version 5 (News:1)
- Primesolve (PP:12)
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