English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 15 of 15
Search took 0.00 seconds.
Search: Posts Made By: roondar
Forum: Coders. Tutorials 06 December 2018, 16:40
Replies: 111
Views: 29,616
Posted By roondar
Right, I think I get it now then. OS...

Right, I think I get it now then.

OS libraries (whether in ROM or on disk) always use registers to pass parameters and the registers used are always named by the documentation (with void being...
Forum: Coders. Tutorials 06 December 2018, 14:54
Replies: 111
Views: 29,616
Posted By roondar
I actually totally missed that. Thanks for...

I actually totally missed that. Thanks for pointing it out. Perhaps in general wiki.amigaos.net is a poor choice for OS 3.x code then, it does appear to be maintained by Hyperion and is probably only...
Forum: Coders. Tutorials 06 December 2018, 13:48
Replies: 111
Views: 29,616
Posted By roondar
AFAIK the OS and its libraries use two calling...

AFAIK the OS and its libraries use two calling conventions.
The first is passing through registers, the second is passing through stack (aka the 'C function calling convention').

For functions...
Forum: Coders. Tutorials 02 December 2018, 22:28
Replies: 111
Views: 29,616
Posted By roondar
For those interested, here is a C example of...

For those interested, here is a C example of reading the keyboard using intuition. It's fairly involved because it also opens the window etc, but the actual event loop is not that big. The example is...
Forum: Coders. Tutorials 02 December 2018, 14:01
Replies: 111
Views: 29,616
Posted By roondar
There is a clear answer, we gave it to you...

There is a clear answer, we gave it to you several times already.


You should not manually poll the keyboard when using the OS. Use the mechanisms designed for that purpose. We've described them...
Forum: Coders. Tutorials 02 December 2018, 12:51
Replies: 111
Views: 29,616
Posted By roondar
Ah yes, that is indeed correct. Perhaps writing...

Ah yes, that is indeed correct. Perhaps writing code at 1:00 am has its drawbacks :)

I have since noted that a2 can't be used though - considering that litwr's code jumps straight to the OS...
Forum: Coders. Tutorials 02 December 2018, 00:56
Replies: 111
Views: 29,616
Posted By roondar
Allright, I'll try. Let's start at the...

Allright, I'll try.

Let's start at the beginning - you use self modifying code to write an address to jump to in your interrupt handler. That is a very, very bad idea. It can easily crash any...
Forum: Coders. Tutorials 01 December 2018, 18:47
Replies: 111
Views: 29,616
Posted By roondar
If you are running with the OS active, you are...

If you are running with the OS active, you are not allowed to set your own interrupt vectors like that. If you need interrupts while using the OS you have to add your handler to the OS interrupt...
Forum: Coders. Tutorials 30 November 2018, 10:11
Replies: 111
Views: 29,616
Posted By roondar
Indeed, it's not usually a big necessity on 68k...

Indeed, it's not usually a big necessity on 68k based machines. I remember stacking/restoring the status register somewhat frequently on the 6502, but I've not really missed it on the 68k. More so...
Forum: Coders. Tutorials 25 November 2018, 15:26
Replies: 111
Views: 29,616
Posted By roondar
This is, sadly, usually unavoidable for copper...

This is, sadly, usually unavoidable for copper lists that have to work in the screen part that only exists on PAL systems. One of the few things in the Copper I don't like, though I understand why it...
Forum: Coders. Tutorials 25 November 2018, 12:48
Replies: 111
Views: 29,616
Posted By roondar
Using the copper is indeed the better option if...

Using the copper is indeed the better option if you need colour 0 to be different for the background and border part. Do note that in my idea you can still use colour 0 on the main screen, though it...
Forum: Coders. Tutorials 24 November 2018, 21:54
Replies: 111
Views: 29,616
Posted By roondar
Very true, never forget the flexibility of the...

Very true, never forget the flexibility of the copper - it's such a nice tool to have :great
Forum: Coders. Tutorials 24 November 2018, 21:17
Replies: 111
Views: 29,616
Posted By roondar
In case this is part of what you want to create...

In case this is part of what you want to create (border having a separate colour from the background), there is a way achieve this effect. I used this when I wanted a black border, but a...
Forum: Coders. Tutorials 18 November 2018, 23:56
Replies: 111
Views: 29,616
Posted By roondar
Yeah, it makes sense for it to be like this. And...

Yeah, it makes sense for it to be like this. And should the reader be insterested in coding for Amiga OS, the other manuals show how it should be done.
Forum: Coders. Tutorials 18 November 2018, 22:51
Replies: 111
Views: 29,616
Posted By roondar
I'd say the Hardware Reference was written for...

I'd say the Hardware Reference was written for those who didn't want to use the OS :D

Seriously, it reads (as it probably should considering what it is) as if the people who wrote it didn't...
Showing results 1 to 15 of 15

 
Forum Jump

All times are GMT +2. The time now is 07:08.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.09768 seconds with 10 queries