English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 551
Search took 0.05 seconds.
Search: Posts Made By: deimos
Forum: Coders. Language Yesterday, 10:33
Replies: 4
Views: 317
Posted By deimos
I'd recommend this:...

I'd recommend this: http://eab.abime.net/showthread.php?t=98525

I have written a nearly decent 3D system using it, the start of a flight simulator game, 90% C (using gcc), 10% assembler (using...
Forum: Coders. Scripting 27 May 2020, 12:23
Replies: 15
Views: 402
Posted By deimos
Carriage return from the echo? Can you add an...

Carriage return from the echo? Can you add an echo $foo to confirm?
Forum: Coders. C/C++ 11 May 2020, 16:17
Replies: 77
Views: 10,782
Posted By deimos
But GCC 10.1 is only 4 days old!

But GCC 10.1 is only 4 days old!
Forum: Coders. C/C++ 08 May 2020, 14:48
Replies: 77
Views: 10,782
Posted By deimos
Nice. Thank you.

Nice. Thank you.
Forum: Coders. Asm / Hardware 16 April 2020, 18:32
Replies: 18
Views: 1,358
Posted By deimos
Gosh only knows what that really means, are you...

Gosh only knows what that really means, are you using a full, unrestricted version of ASM-One?
Forum: Coders. Asm / Hardware 16 April 2020, 18:04
Replies: 18
Views: 1,358
Posted By deimos
Looking at the ASM-One manual, it says that code...

Looking at the ASM-One manual, it says that code containing XREFs or XDEFs cannot be directly executed. Is there a different compile only command that will create just an object file for you to link...
Forum: News 16 March 2020, 16:23
Replies: 578
Views: 93,653
Posted By deimos
I'd buy a kit. And find a way to let people who...

I'd buy a kit. And find a way to let people who are still waiting downgrade to a kit.

But then, someone has to write instructions.

But also, kits don't tend to get warranties, so they've got...
Forum: Retrogaming General Discussion 06 March 2020, 19:22
Replies: 142
Views: 9,388
Posted By deimos
We need to roll back the clock and get a QNX...

We need to roll back the clock and get a QNX style real time micro kernel, on a processor built from scratch to ensure that process isolation is enforced all the way down and even further, if there's...
Forum: Coders. General 05 March 2020, 16:55
Replies: 4
Views: 573
Posted By deimos
You never set vc.

You never set vc.
Forum: Coders. General 02 March 2020, 11:07
Replies: 14
Views: 1,431
Posted By deimos
It's totally up to you. What kind of effect do...

It's totally up to you. What kind of effect do you want?

EDIT:

https://i.stack.imgur.com/Qi0UI.png

In this image the "near plane" or "plane of projection" is your computer monitor. Imagine...
Forum: Coders. General 02 March 2020, 07:07
Replies: 14
Views: 1,431
Posted By deimos
Well, I think wikipedia hasn't given you the...

Well, I think wikipedia hasn't given you the best explanation.

You, your eye, your camera, does move, but the final step of the matrix stuff is the "camera transform", which moves and spins...
Forum: Coders. General 01 March 2020, 20:20
Replies: 14
Views: 1,431
Posted By deimos
I mean the distance between you and the "viewing...

I mean the distance between you and the "viewing surface", i.e. the screen.

The way I do it (and other people are welcome to tell me why I'm wrong), is to use pixels as the unit size for...
Forum: Coders. General 01 March 2020, 17:19
Replies: 14
Views: 1,431
Posted By deimos
Benefits other than performance, such as knowing...

Benefits other than performance, such as knowing that your polygons are always planer, things you probably know.



That description of the perspective transform seems overly complex for what is...
Forum: Coders. General 29 February 2020, 16:33
Replies: 14
Views: 1,431
Posted By deimos
I think the smarter thing would be to arrange it...

I think the smarter thing would be to arrange it such that your polygons are always convex, which is easy if you're in control. I think you'd get the most benefit from reducing the number of polygons...
Forum: Coders. Asm / Hardware 07 February 2020, 19:15
Replies: 9
Views: 570
Posted By deimos
From my experiences a few months ago, I'd say...

From my experiences a few months ago, I'd say don't.

But if you do, then it's not hard to build a "linked list" of copper instructions to do your blitting, where the links are COPJMP2...
Forum: Coders. General 31 December 2019, 15:28
Replies: 13
Views: 1,230
Posted By deimos
Well, gravity seemed easy enough: ...

Well, gravity seemed easy enough:


LONG elapsedTime = GetElapsedTime();

if (elapsedTime != 0) {
for (Model * model = scene.firstModel; model; model = model->nextModel) {
...
Forum: Coders. General 30 December 2019, 18:59
Replies: 2
Views: 776
Posted By deimos
Nice one. Thank you.

Nice one. Thank you.
Forum: Coders. General 30 December 2019, 16:53
Replies: 13
Views: 1,230
Posted By deimos
This is what I've managed to work out today: ...

This is what I've managed to work out today:

Thrust

T = r * (v_max - v) / v_max * t * e

where:

T is the resulting thrust
r is atmospheric density (normalised to a max value of 1 at sea...
Forum: Coders. General 30 December 2019, 02:09
Replies: 13
Views: 1,230
Posted By deimos
I certainly don't want any complex physics. But I...

I certainly don't want any complex physics. But I do think concepts like gravity are important and most of the behaviour I want to implement, such as acceleration that's linked to the current mass of...
Forum: Coders. General 29 December 2019, 17:40
Replies: 13
Views: 1,230
Posted By deimos
I've decided to not consider anything what comes...

I've decided to not consider anything what comes after my flight physics until I have my flight physics working, but I do have a vague idea of grid a system with multiple layers and detail levels for...
Forum: Coders. General 29 December 2019, 16:59
Replies: 13
Views: 1,230
Posted By deimos
All fixed point, but yes, with a constant, 2. ...

All fixed point, but yes, with a constant, 2.

The direction vector is held in 2:14 format, the throttle is an int, 0..100, currently. I multiply them together and then shift right by 13, resulting...
Forum: Coders. General 29 December 2019, 15:03
Replies: 13
Views: 1,230
Posted By deimos
I'd have to get Visual Studio and learn how to...

I'd have to get Visual Studio and learn how to use it first though.

I have added simple movement of the enemy aircraft. Now, at every screen update, it moves in the direction it's pointed in by a...
Forum: Coders. General 29 December 2019, 13:33
Replies: 13
Views: 1,230
Posted By deimos
I'm cross compiling from Windows, deploying into...

I'm cross compiling from Windows, deploying into WinUAE. I can't do Edit & Continue, but I can do Edit, Build & Deploy pretty quickly.



I understand your reasoning here, but it's not for me - I...
Forum: Coders. General 27 December 2019, 16:37
Replies: 13
Views: 1,230
Posted By deimos
Google / Wikipedia tell me that the the 4 main...

Google / Wikipedia tell me that the the 4 main forces involved are thrust, weight, drag and lift. Makes perfect sense. When thrust and drag are equal the plane has constant velocity. When weight and...
Forum: Coders. General 27 December 2019, 15:57
Replies: 13
Views: 1,230
Posted By deimos
7 (more) days of code

I have a bit more than a week of spare time to continue working on my "game" (http://eab.abime.net/showthread.php?t=99179).

Previously, I didn't get as far as I wanted due, mostly, to falling down...
Forum: Coders. Asm / Hardware 26 December 2019, 18:01
Replies: 18
Views: 804
Posted By deimos
There are 8 bits of value to wait for, but only 7...

There are 8 bits of value to wait for, but only 7 bits of mask - what should be the highest mask bit is used for waiting for the blitter to finish instead. You have to jump through some hoops.
Forum: Coders. Asm / Hardware 25 December 2019, 20:43
Replies: 1
Views: 411
Posted By deimos
Instructions are atomic, yes. Interrupts only...

Instructions are atomic, yes. Interrupts only happen between instructions.

Plenty of other things can go wrong though.
Forum: Coders. Asm / Hardware 24 December 2019, 14:28
Replies: 19
Views: 952
Posted By deimos
This week I hope to actually have the planes...

This week I hope to actually have the planes moving around rather than just spinning round on fixed positions.

But before I build a physics model I want a visual representation of the throttle...
Forum: Coders. Asm / Hardware 24 December 2019, 11:40
Replies: 18
Views: 804
Posted By deimos
When you get to check, you'll find the language...

When you get to check, you'll find the language in the manual easy to misinterpret:



This is how I think of it:

If there's a legal register address in the first word, then it's a move. By...
Forum: Coders. Asm / Hardware 23 December 2019, 20:51
Replies: 19
Views: 952
Posted By deimos
Got it! Thank you everyone. Edit: ...

Got it!

Thank you everyone.

Edit:

For those playing along at home, this is the working version I've come up with:


const WORD fwms [16] = { 0xffff, 0x7fff, 0x3fff, 0x1fff, 0x0fff,...
Forum: Coders. Asm / Hardware 22 December 2019, 19:15
Replies: 19
Views: 952
Posted By deimos
Maybe one problem is that I'm trying to be too...

Maybe one problem is that I'm trying to be too specific. Maybe I should go and write a generic (rectangular, non-overlapping) blit function first, then use that as a basis for specific versions like...
Forum: Coders. Asm / Hardware 22 December 2019, 17:27
Replies: 19
Views: 952
Posted By deimos
That is very comprehensive, thank you. I'm...

That is very comprehensive, thank you.

I'm extracting a variable part of my source image strip [ N E S W] - if I'm facing north I'll extract essentially the left quarter [ N ], if I'm facing south...
Forum: Coders. Asm / Hardware 22 December 2019, 15:39
Replies: 19
Views: 952
Posted By deimos
I think this is where I am at the moment. Things...

I think this is where I am at the moment. Things seems to work, except for shift values of 12 to 15 I get wrapped around garbage values appearing at the left.


static void BlitterCopy(WORD start)...
Forum: Coders. Asm / Hardware 22 December 2019, 14:36
Replies: 19
Views: 952
Posted By deimos
My shifting is the opposite of what I expected: ...

My shifting is the opposite of what I expected:


WORD shift = 15 - (start & 0x000f);


Which means that stuff is wrapping round on the left now, but I'm getting closer.
Forum: Coders. Asm / Hardware 22 December 2019, 14:22
Replies: 19
Views: 952
Posted By deimos
Ok, so there should probably be some sort of...

Ok, so there should probably be some sort of licensing scheme for pointer arithmetic.

My shifting is still not right though, working on that.
Forum: Coders. Asm / Hardware 22 December 2019, 13:48
Replies: 19
Views: 952
Posted By deimos
This is my new source image - no dependency on...

This is my new source image - no dependency on how it aligns, later I'll redraw it to match what the blitter wants.

Right now all I expect is to be able to take parts of it to blit to my fixed...
Forum: Coders. Asm / Hardware 22 December 2019, 13:15
Replies: 19
Views: 952
Posted By deimos
I could rotate my source image to simplify the...

I could rotate my source image to simplify the situation, I suppose?
Forum: Coders. Asm / Hardware 22 December 2019, 12:52
Replies: 19
Views: 952
Posted By deimos
Well, sure, but I was under the impression that...

Well, sure, but I was under the impression that the blitter made it easy, and I managed to blit the artificial horizon, which included a mask to make it circular, with no problem at all. It's just...
Forum: Coders. Asm / Hardware 22 December 2019, 12:12
Replies: 19
Views: 952
Posted By deimos
I did not expect it to be this hard.

I did not expect it to be this hard.
Forum: Coders. Asm / Hardware 22 December 2019, 11:41
Replies: 19
Views: 952
Posted By deimos
Ok. It sounds like I should first tackle the...

Ok. It sounds like I should first tackle the shifting and make sure that I can get an unmasked blit happening correctly, but with extra pixels, then come back to the masks to remove the unwanted...
Showing results 1 to 40 of 551

 
Forum Jump

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


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