<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 19 Nov 2010 03:02:58 +0100
From   : rick@... (Rick Murray)
Subject: Hints'n'Tips: Assembling non-ARM code on ARM BASIC

On 18/11/2010 12:24, J.G.Harston wrote:

> A%=0:X%=1:X%=USR((&FFF4)AND&FF00)DIV256 as used in FNOS_GetEnv in
                     ^^^^^
I don't have the BASIC source to hand, but I was under the impression 
that the BBCEconet module added this functionality for compatibility 
reasons.

I ought to dig up the source just to see how this is handled. I kinda 
wonder what would happen if you were unlucky enough to assemble a branch 
at &FFFx - would BASIC jump into your code, or OS_WhatEver ?


Best wishes,

Rick.

-- 
Rick Murray, eeePC901 & ADSL WiFI'd into it, all ETLAs!
BBC B: DNFS, 2 x 5.25" floppies, EPROM prog, Acorn TTX
E01S FileStore, A3000/A5000/RiscPC/various PCs/blahblah...
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>