English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 175
Search took 0.02 seconds.
Search: Posts Made By: Antiriad_UK
Forum: Coders. Asm / Hardware 21 February 2020, 16:05
Replies: 174
Views: 113,510
Posted By Antiriad_UK
Yes resets d0 to 0 so you can save a whole 4...

Yes resets d0 to 0 so you can save a whole 4 cycles per loop:)
Forum: Coders. Asm / Hardware 21 February 2020, 15:31
Replies: 16
Views: 829
Posted By Antiriad_UK
HA this looks great! ...

HA this looks great!
https://www.shadertoy.com/view/lsKcRh
Forum: Coders. Asm / Hardware 21 February 2020, 15:03
Replies: 174
Views: 113,510
Posted By Antiriad_UK
This is one I saw in another thread that made me...

This is one I saw in another thread that made me scratch my head for a while is using add dx,dx to simultaneously test and clear a "flag". For example you have a loop where you are setting a flag...
Forum: Coders. Asm / Hardware 21 February 2020, 14:15
Replies: 16
Views: 829
Posted By Antiriad_UK
I'm going to look at javascript / p5.js I think....

I'm going to look at javascript / p5.js I think. Looks like an easy way of doing lines, rectangles, blits. Never done js but I know C++/C## so I imagine it will be fine. And no big dev env required...
Forum: Coders. Asm / Hardware 20 February 2020, 16:47
Replies: 16
Views: 829
Posted By Antiriad_UK
Yo Dan, about these square roots :) So in my...

Yo Dan, about these square roots :)

So in my Sax Offender intro I was doing fake light sourcing by abusing the hidden surface routine:
* c = (x2-x1)*(y3-y1)-(x3-x1)*(y2-y1)
* Sign of "c"...
Forum: Coders. Asm / Hardware 19 February 2020, 01:35
Replies: 46
Views: 1,568
Posted By Antiriad_UK
Neat. Thanks for the detailed write up!

Neat. Thanks for the detailed write up!
Forum: Coders. General 17 February 2020, 09:53
Replies: 17
Views: 1,068
Posted By Antiriad_UK
The pic to raw converter I use (KingCon by...

The pic to raw converter I use (KingCon by Hannibal/Lemon.) has a EHB conversion option. Not sure what it does but I can run a picture through it and spit out the raw + dc.w palette data if you have...
Forum: Coders. Asm / Hardware 11 February 2020, 10:04
Replies: 6
Views: 513
Posted By Antiriad_UK
You can only scroll right with bplcon1 :). If you...

You can only scroll right with bplcon1 :). If you are at bplcon1 as $0000 and you want to scroll left by 1 pixel you reduce your bitplane pointers by 1 word and then scroll right by 15 in bplcon1.
Forum: Coders. Asm / Hardware 10 February 2020, 15:35
Replies: 7
Views: 352
Posted By Antiriad_UK
Probably not, it's been forever since I've look...

Probably not, it's been forever since I've look at the description of an AGA register - I come out in hives :D
Forum: Coders. Asm / Hardware 10 February 2020, 15:26
Replies: 7
Views: 352
Posted By Antiriad_UK
boooom

boooom
Forum: Coders. Asm / Hardware 10 February 2020, 14:59
Replies: 7
Views: 352
Posted By Antiriad_UK
Doh I forgot the big one. The vbr address may not...

Doh I forgot the big one. The vbr address may not be at 0 so you can't assume when you are setting you vblanks and such. Do a search for StingRay's startup code/blueberrys code. Mine is at this link...
Forum: Coders. Asm / Hardware 10 February 2020, 14:33
Replies: 7
Views: 352
Posted By Antiriad_UK
Download the "how to code" manual which has a...

Download the "how to code" manual which has a nice section in there on writing for AGA. At the basic level if you are writing for OCS/ECS then you just need to reset some registers that the OS might...
Forum: Coders. Asm / Hardware 09 February 2020, 19:07
Replies: 16
Views: 829
Posted By Antiriad_UK
I'll hit you up about this separately at some...

I'll hit you up about this separately at some point once I've tried a few things out. ;)
Forum: Coders. Asm / Hardware 09 February 2020, 17:54
Replies: 16
Views: 829
Posted By Antiriad_UK
Prototyping techniques / tools?

I watched the gerp 2020 stream yesterday afternoon during the Amos Pro competition where they had two people head to head coding something in 20 mins. I was so impressed. These guys obviously had a...
Forum: Coders. Releases 09 February 2020, 10:14
Replies: 6
Views: 623
Posted By Antiriad_UK
Source Code for Planet Jazz - Sax Offender Demo (Gerp 2020)

Here is the source code for our Gerp 2020 Demo. 11 Amiga entries on the night! - Oh my, we were out-classed :D

Source: https://github.com/jonathanbennett73/amiga-pjz-sax-offender
Prod:...
Forum: Coders. Asm / Hardware 03 February 2020, 16:55
Replies: 21
Views: 689
Posted By Antiriad_UK
Ahhhhh. :D Two mistakes then!

Ahhhhh. :D

Two mistakes then!
Forum: Coders. Asm / Hardware 03 February 2020, 16:51
Replies: 21
Views: 689
Posted By Antiriad_UK
I can't see what's up with the blitwaits, oh my...

I can't see what's up with the blitwaits, oh my god what have I missed? My own blitwait macro may be broken. Is it the byte access in a register? Sure I read it was illegal but everyone does it and...
Forum: Coders. Asm / Hardware 03 February 2020, 16:19
Replies: 21
Views: 689
Posted By Antiriad_UK
Well I just did everything I said and tested it...

Well I just did everything I said and tested it and it works as I expected (assuming I understood what you are trying to do).

Changed BLTALWM to $7fff
-2 from _DUMMYTXT in BLTAPTH/DPTH
Removed...
Forum: Coders. Asm / Hardware 03 February 2020, 15:42
Replies: 21
Views: 689
Posted By Antiriad_UK
And you changed both the APTH an DPTH lines to...

And you changed both the APTH an DPTH lines to _DUMMYTEXT-2?
Forum: Coders. Asm / Hardware 03 February 2020, 14:51
Replies: 21
Views: 689
Posted By Antiriad_UK
Check your A/D ptrs. They should be pointing to...

Check your A/D ptrs. They should be pointing to the last word of the buffer for desc mode. They look to be pointing one word past that:


MOVE.L #_DUMMYTXT,BLTDPTH
...
DUMMYTXT:...
Forum: Coders. Asm / Hardware 03 February 2020, 14:19
Replies: 21
Views: 689
Posted By Antiriad_UK
Yeah, line 244 of that source change: ...

Yeah, line 244 of that source change:


MOVE.W #$FFFF,BLTAFWM ; BLTAFWM lo spiegheremo dopo
MOVE.W #$FFFF,BLTALWM ; BLTALWM lo spiegheremo dopo
MOVE.W #%0001100111110000,BLTCON0 ; BLTCON0...
Forum: Coders. Asm / Hardware 03 February 2020, 14:02
Replies: 21
Views: 689
Posted By Antiriad_UK
What is your last word mask set to? Bits shifted...

What is your last word mask set to? Bits shifted off the end wrap around and can look like this (from the video, not sure about the pic :) ). Set your LWM to $0 to test if the problem goes away and...
Forum: Coders. Contest 02 February 2020, 23:39
Replies: 1,717
Views: 138,064
Posted By Antiriad_UK
Congrats, mcgeezer :)

Congrats, mcgeezer :)
Forum: Coders. Asm / Hardware 23 January 2020, 10:46
Replies: 13
Views: 769
Posted By Antiriad_UK
This was one of the tricks that I was really...

This was one of the tricks that I was really pleased to learn when relearning last year. I went through a load of routines stripping out ext.l used after a movem :)
Forum: Coders. Asm / Hardware 18 December 2019, 15:43
Replies: 5
Views: 479
Posted By Antiriad_UK
Setting DATB at top once to 0 was the first thing...

Setting DATB at top once to 0 was the first thing I tried to just have a monochrome image but I still see every other line line skipped like in my first post so something else is up.

Edit: Ok I...
Forum: Coders. General 18 December 2019, 13:07
Replies: 17
Views: 1,115
Posted By Antiriad_UK
I thought you said you weren't releasing the...

I thought you said you weren't releasing the source? :xmas
Forum: Coders. Asm / Hardware 18 December 2019, 12:25
Replies: 5
Views: 479
Posted By Antiriad_UK
Hmm, I can't get this manual loading working....

Hmm, I can't get this manual loading working. I've initialised spr6pt to a dummy sprite in the vblank. Then just into the display window I set spr6pos and spr6ctl. And on each line I set spr0datb and...
Forum: Coders. Asm / Hardware 17 December 2019, 19:05
Replies: 5
Views: 479
Posted By Antiriad_UK
OCS + DDFSTRT=$30 - Losing spr6?

Hi,

Not used sprites that much before, so a sprite noob, but can someone verify this?

I've got an overscan screen with ddfstrt=$30 so I lose spr7 as expected. But I also seem to be getting...
Forum: Coders. Asm / Hardware 15 December 2019, 11:16
Replies: 22
Views: 1,207
Posted By Antiriad_UK
True the multiple setup/stop is probably the most...

True the multiple setup/stop is probably the most likely and reliable saving. But in a massive clear/or basic fill then there's quite a usable overlap. In my simple vector routine all the...
Forum: Coders. Asm / Hardware 15 December 2019, 00:56
Replies: 22
Views: 1,207
Posted By Antiriad_UK
I think interleaved bitplane data are used for...

I think interleaved bitplane data are used for 99% of demos/games. It's just way more efficient. If you have a BOB of 32 px high in 5 bitplanes and you want to blit that with non-interleaved its:...
Forum: Coders. Asm / Hardware 14 December 2019, 18:39
Replies: 6
Views: 407
Posted By Antiriad_UK
Thanks, all useful stuff. I need to write a CPU...

Thanks, all useful stuff. I need to write a CPU line draw soon and I've been watching videos on Bresenham. Oddly 99% of videos on youtube for Bresenham seem to be for Indian universities. This video...
Forum: Coders. Asm / Hardware 14 December 2019, 15:23
Replies: 6
Views: 407
Posted By Antiriad_UK
Cheers, Dan. I think I get it. E.g. Double...

Cheers, Dan. I think I get it.

E.g. Double size
U1 = 0
U2 = 16
Y1 = 0
Y2 = 32

dU = (16-0) / (32-0) = 0.5
Forum: Coders. Asm / Hardware 14 December 2019, 11:47
Replies: 6
Views: 407
Posted By Antiriad_UK
Vertical scaling up - how to choose lines to stretch?

I've got a routine where I stretch an image vertically using BPLxMODs and it works great. But it looks obviously like a perspective-based stretch from an origin because of how I am generating the...
Forum: Retrogaming General Discussion 04 December 2019, 02:35
Replies: 106
Views: 7,593
Posted By Antiriad_UK
I have a g sync monitor and although the pixels...

I have a g sync monitor and although the pixels look great. It’s all just a motion blur nightmare to what I remember a 50hz scroller to be :/
Forum: Coders. Asm / Hardware 02 December 2019, 22:17
Replies: 13
Views: 964
Posted By Antiriad_UK
Running from icon needs some extra stuff. Have a...

Running from icon needs some extra stuff. Have a look at section 18 in this
https://plantmonster.net/koodailut/amiga/template/amigaexamples/Manuals/HowToCode7.pdf
Forum: Nostalgia & memories 30 November 2019, 14:46
Replies: 57
Views: 3,365
Posted By Antiriad_UK
It looks like my last two Amiga new boxed...

It looks like my last two Amiga new boxed purchases were Alien Breed 92 Special Edition and Devpac 3.0. Ashamed to say most of my games were pirates - been trying to make up for that since I starting...
Forum: Coders. Asm / Hardware 30 November 2019, 14:02
Replies: 36
Views: 3,719
Posted By Antiriad_UK
Can you just change the code in the simple copy...

Can you just change the code in the simple copy version to copy the mask to the screen, easy way to confirm if mask is ok. Looking at the rest.

Edit: You'll need to write the B shift value in...
Forum: Coders. Asm / Hardware 28 November 2019, 22:32
Replies: 7
Views: 671
Posted By Antiriad_UK
Yeah that’s what I’m doing :). I’ve got a...

Yeah that’s what I’m doing :). I’ve got a “framework ” dummy cl that has all the spite pointers set up for a dummy sprite. Then similar to what you say for each effect section I’ll swap to other...
Forum: Coders. General 28 November 2019, 00:26
Replies: 106
Views: 4,587
Posted By Antiriad_UK
I just tried this and it blew my mind what code...

I just tried this and it blew my mind what code it gave for a for loop. Step one break out the lnk instruction wtf
Forum: Coders. Asm / Hardware 27 November 2019, 19:18
Replies: 7
Views: 671
Posted By Antiriad_UK
Thanks, I was leaning towards option 2 as well....

Thanks, I was leaning towards option 2 as well. I've added "ross approved" to my function notes ;p
Showing results 1 to 40 of 175

 
Forum Jump

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


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