Ultimate Amiga

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 ... 10
 1 
 on: November 22, 2017, 08:59:09 AM 
Started by Volvo_0ne - Last post by adrazar
I don't think you are missing anything. Why not use Set Text + Text? (If it feels unpleasant converting from text to graphic coordinates you might find X Graphic and Y Graphic useful.)

 2 
 on: November 21, 2017, 08:37:23 PM 
Started by Volvo_0ne - Last post by Volvo_0ne
After RTFM and experimenting...

I just cannot get BOLD typeface in the AMOS PRINT instruction.

NB:Not in the TEXT instruction

Either I have missed something or just thick, but underline is easy but not bold, maybe there is an escape code for it but I cannot find it anywhere!

HELP!

 3 
 on: November 21, 2017, 02:15:22 PM 
Started by adrazar - Last post by adrazar
Quote
I would think that there are more ways than one to write bob code, so I think (as you say) a detailed inspection of the AMOS system coding is probably the only way forward for your answer.

I like to (try) code in AMOS, but I know little about how it work internally.

Hope you find your answer.

V1
Thanks for the kind words :) It appears a bit of encouragement worked miracles this time, as I seem to have found the solution :D It really did help to examine the sources (which I actually couldn't find online before yesterday...)

Here are the ingredients I needed:

Now, in +w.s the register a5 is generally used with the offsets defined in the file "AP20_Vect.s". Among the bob-related names contained in this file we find T_BbDeb = -6172 (likely short for Bob Debut). When checking its content in AMOS
Code: [Select]
BB=Leek(Areg(5)-6172) : Rem Areg(5) contains the value in register a5it turns out BB contains precisely the pointer I have been looking for!

There is one thing that worries me with this method though, and that is how much it can be trusted that Areg(5) will contain the right address at any given time while the program is running.

A simple way to verify the address runtime is by comparing Leek(Areg(5)-476) with Screen Base, as these should be equal when Areg(5) is correct. (-476 is one of the offsets listed in AP20_Vect.s).

However *should* the register Areg(5) happen to contain the wrong address, there does exist a way to recover the right one either way. That's because the address normally found in Areg(5) really is tc_UserData (see my previous post). This address is obtained through the following not-so-simple piece of code:
Code: [Select]
Set Equate Bank 12 : Rem (arbitrary bank number)
Areg(1)=0
TASKBASE=Execall(Lvo("FindTask"))
A5=Leek(TASKBASE+$58)
' Now proceed using A5 instead of Areg(5)

The reason I hesitate to recommend this over using Areg(5) is that it didn't compile very well last time I tried.

 4 
 on: November 20, 2017, 05:46:49 AM 
Started by Volvo_0ne - Last post by SamuraiCrow
Only on AGA.  The only other way to keep the border color black is to apply the Copper rainbow to some other palette entry.

 5 
 on: November 19, 2017, 06:27:00 PM 
Started by Volvo_0ne - Last post by Volvo_0ne
Thanks guys, much appreciated :)

BTW is there any way to make the border (EG anything which is not screen) black and Keep it that way regardless of colour changes in the screen area?

I know Colour Back should do this, but if (for example) you move a rainbow below the bottom of the screen area, it colours the lower border which looks really pants!

 6 
 on: November 18, 2017, 07:17:04 PM 
Started by adrazar - Last post by Volvo_0ne
I would think that there are more ways than one to write bob code, so I think (as you say) a detailed inspection of the AMOS system coding is probably the only way forward for your answer.

I like to (try) code in AMOS, but I know little about how it work internally.

Hope you find your answer.

V1

 7 
 on: November 12, 2017, 03:36:02 AM 
Started by system11 - Last post by system11
Megademo 8
Impressive picture at start of Multiscroll 5 and wow, 14 simultaneous scrolls!! The Tetro has some cool music. Blocktro is impressive visually and I worked out how you did it :)
Reborn - "Nobody F's with our disks!!!" message, demo fails.
We Are Watching You - "Nobody F's with our disks!!!" message, end part fails

Epic necroposting time.

I've been finally fixing up my A2000 and this just happened to me.  It's some kind of subtle difference in reporting blocks free between kickstart 1.3 and 2.0.  So there you go..  That "Reborn" demo has my favourite effect, the code was an ungodly hack - lightsourced vectorbobs.

 8 
 on: November 11, 2017, 12:02:52 PM 
Started by Hungry Horace - Last post by Caddy
Great stuff! I'll check out the list and contact you if I see something I want.

 9 
 on: November 01, 2017, 11:59:53 AM 
Started by Hungry Horace - Last post by FOL
Zool and Zool2 empty zip.
Can I upload my riss-savestate? If so, where?

Once I get some free time, I will see if I can sort a simple guide to let you make your own.

 10 
 on: October 29, 2017, 05:38:01 AM 
Started by Mia - Last post by SamuraiCrow
Mia quit the team and took down most of the repo with it.

Sent from my Prism II using Tapatalk


Pages: [1] 2 3 ... 10