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
- Elsear brings super-fast Networking to Risc PC/A7000/A7000+ (News:)
- Latest hardware upgrade from RISCOSbits (News:)
- RISC OS London Show Report 2024 (News:1)
- Announcing the TIB 2024 Advent Calendar (News:1)
- Code GCC produces that makes you cry #12684 (Prog:39)
- RISCOSbits releases a new laptop solution (News:)
- Rougol November 2024 meeting on monday (News:)
- Drag'n'Drop 14i1 edition reviewed (News:)
- WROCC November 2024 talk o...ay - Andrew Rawnsley (ROD) (News:2)
- October 2024 News Summary (News:3)
Latest postings RSS Feeds
RSS 2.0 | 1.0 | 0.9
Atom 0.3
Misc RDF | CDF
 
View on Mastodon
@www.iconbar.com@rss-parrot.net
Site Search
 
Article archives
The Icon Bar: Programming: RO5 and 26Bit error.
 
  RO5 and 26Bit error.
  DavidS (04:05 15/11/2013)
  sirbod (09:14 15/11/2013)
    DavidS (12:42 15/11/2013)
      DavidS (16:38 16/11/2013)
 
David Saunders Message #122785, posted by DavidS at 04:05, 15/11/2013
Member
Posts: 14
On loading an AIF or Module that is not flaged as 32Bit compatable RISC OS 5.xx generates an error, usualy displayed in an error box.

My question is how does one trap this, what are the details?

Does it go through ErrorV if so what is the Owner, Error number, etc?

Or is there some other way of handling this?

I have been pulling my hair on this one for a couple of days, it would be helpful to know so I can more easily get many 26Bit programs and modules to load with out having to trap a bunch of SWIs.
  ^[ Log in to reply ]
 
Jon Abbott Message #122786, posted by sirbod at 09:14, 15/11/2013, in reply to message #122785
Member
Posts: 563
I was pondering the very same question, my original thought as I'm already trapping the SWI vector was to just check the file before loading it.

Not exactly elegant though, it would be better to handle only known 26bit files. The obvious solution that springs to mind would be for the OS to offer the file around via a service, I doubt that was ever implemented though.

I'm guessing you've tried monitoring ErrorV and aren't seeing the error?
  ^[ Log in to reply ]
 
David Saunders Message #122788, posted by DavidS at 12:42, 15/11/2013, in reply to message #122786
Member
Posts: 14
Yes I am not seeing any thing that is different from an app just crashing. I know there must be something somewhere. It is possible that there is something I am overlooking,

And looking at every absolute and module as it is loaded is exactly how I am playing with at this time.
  ^[ Log in to reply ]
 
David Saunders Message #122793, posted by DavidS at 16:38, 16/11/2013, in reply to message #122788
Member
Posts: 14
Ok I seem to have figured this out. I am going to just watch the filing vectors and respond when an application is being loaded, this will require a little extra testing though should be the least intrusive way to accomplish the goal.

This after a short discusion on the ROOL forum and some personal research.
  ^[ Log in to reply ]
 

The Icon Bar: Programming: RO5 and 26Bit error.