Forum: Coders. Asm / Hardware
25 June 2022, 19:46
|
Replies: 19
Views: 931
|
Forum: Coders. Asm / Hardware
24 June 2022, 19:16
|
Replies: 19
Views: 931
|
Forum: Coders. Asm / Hardware
24 June 2022, 17:24
|
Replies: 19
Views: 931
|
Forum: Coders. System
24 June 2022, 14:18
|
Replies: 12
Views: 502
|
Forum: Coders. System
24 June 2022, 00:35
|
Replies: 12
Views: 502
|
Forum: Coders. General
22 June 2022, 17:09
|
Replies: 80
Views: 25,954
Then I would suggest that you also record a...
Then I would suggest that you also record a bitmap ptr for each star as you draw them (maybe overwrite x/y to save space), so the clearing is then simply: read a bitmap ptr, set whole byte to 0 for...
|
Forum: Coders. Asm / Hardware
22 June 2022, 15:43
|
Replies: 5
Views: 298
setpatch (e.g. in startup-sequence), or any...
setpatch (e.g. in startup-sequence), or any additional cpu libraries (typically for 040/060) will move it to fast ram if available, otherwise it remains at zero as far as I know.
To mess with vbr...
|
Forum: Coders. General
21 June 2022, 16:32
|
Replies: 80
Views: 25,954
|
Forum: project.Amiga File Server
21 June 2022, 11:29
|
Replies: 29
Views: 8,338
|
Forum: Coders. General
20 June 2022, 17:19
|
Replies: 80
Views: 25,954
Speedy 4 cycle instructions are not a problem....
Speedy 4 cycle instructions are not a problem. You could see it as they are executed while the next opcode is being fetched (or waiting on a free dma slot), so they are not slowed down "in the middle...
|
Forum: Coders. General
20 June 2022, 03:18
|
Replies: 80
Views: 25,954
|
Forum: Coders. General
19 June 2022, 17:15
|
Replies: 80
Views: 25,954
|
Forum: Coders. Asm / Hardware
18 June 2022, 14:46
|
Replies: 20
Views: 1,397
I was referring to standard 68000 instructions...
I was referring to standard 68000 instructions like movep (that aren't implemented in 060 hardware, and are emulated through 68060.library that most likely isn't loaded if you boot from a floppy)....
|
Forum: Coders. Asm / Hardware
18 June 2022, 12:08
|
Replies: 20
Views: 1,397
|
Forum: Coders. Asm / Hardware
18 June 2022, 02:56
|
Replies: 20
Views: 1,397
Get memory info from exec e.g. MemList(a6),...
Get memory info from exec e.g. MemList(a6), MaxLocMem(a6) (chipmem size), ... and then nuke it.
Speaking of 060, yeah you have to be careful if you kill the system and then use unimplemented 68000...
|
Forum: Coders. General
18 June 2022, 02:40
|
Replies: 80
Views: 25,954
|
Forum: Coders. General
18 June 2022, 00:28
|
Replies: 80
Views: 25,954
|
Forum: Coders. Asm / Hardware
16 June 2022, 17:20
|
Replies: 13
Views: 951
You have to access player structures, it...
You have to access player structures, it typically maintains a copy of sample ptrs, periods, volumes, etc. for all the (active) channels. So you take sample ptrs and then you calculate where exactly...
|
Forum: Coders. Asm / Hardware
15 June 2022, 17:48
|
Replies: 8
Views: 629
Blitter clear if good if you can do it 100% in...
Blitter clear if good if you can do it 100% in parallel and never have to wait for it to finish. Otherwise, cpu+blitter split is faster. Blitclear is 0 sources, 1 destination, so it has an idle state...
|
Forum: Coders. General
13 June 2022, 20:15
|
Replies: 80
Views: 25,954
You can still do it in 2 passes by shifting Y...
You can still do it in 2 passes by shifting Y 16-* in the opposite direction (and doing a few minor adjustments).
In one of my routines I'm using fixed point 11:5 for both X and Y, and screen width...
|
Forum: Coders. General
13 June 2022, 15:30
|
Replies: 80
Views: 25,954
My point was, at least that's how I'd approach...
My point was, at least that's how I'd approach these things, if you write a game that heavily relies on drawing hundreds of pixels every frame you do not say: OK, I have a drawpixel() routine that...
|
Forum: Coders. General
12 June 2022, 20:10
|
Replies: 80
Views: 25,954
|
Forum: Coders. Asm / Hardware
11 June 2022, 23:47
|
Replies: 20
Views: 1,397
If you are ignoring the system, anything above...
If you are ignoring the system, anything above $0100 is free game on 68000-060 (FPU+MMU have extra stuff above $00c0, and 060 has its own vectors up to $0100).
If you *really* know what you are...
|
Forum: Coders. Asm / Hardware
09 June 2022, 00:44
|
Replies: 224
Views: 222,468
|
Forum: Coders. Asm / Hardware
08 June 2022, 23:25
|
Replies: 224
Views: 222,468
Perhaps this works? Didn't do much testing...
Perhaps this works? Didn't do much testing (looked fine with d3=24, 16, 8, 4, 0).
; addq.w #1,d3 ; include this if needed (e.g. d3=23 for 24 shifts)
moveq #0,d2
bset d3,d2
subq.l #1,d2 ;...
|
Forum: Coders. Asm / Hardware
08 June 2022, 15:48
|
Replies: 19
Views: 701
To keep all code and/or data in a single hunk...
To keep all code and/or data in a single hunk resulting in shorter and faster code (pc relative addressing for everything, all data accessible via single base address register, no relocation tables...
|
Forum: Coders. Asm / Hardware
08 June 2022, 14:05
|
Replies: 19
Views: 701
Yup, that's what I've been doing in my code, so...
Yup, that's what I've been doing in my code, so that modifed asm-pro can produce code+bss (or data+bss) hunks. It's one of the things I really missed in the entire asm-one family of assemblers (it...
|
Forum: Coders. Asm / Hardware
08 June 2022, 06:58
|
Replies: 19
Views: 701
As already noted, the problem is code+bss hunk....
As already noted, the problem is code+bss hunk. Your first "code" hunk is $368 lwords allocated and $367 actual, meaning the last lword is bss, and is never initialized under KS1.x. The first time it...
|
Forum: Retrogaming General Discussion
04 June 2022, 23:40
|
Replies: 32
Views: 1,639
|
Forum: Coders. Asm / Hardware
03 June 2022, 19:09
|
Replies: 22
Views: 1,476
Completely wrong. These days we have AI code...
Completely wrong. These days we have AI code generated by AI compilers running on AI hardware and operating on AI cloud AI data. They can do all of that and more, can't you see?
Also, you're selling...
|
Forum: Coders. Asm / Hardware
02 June 2022, 15:49
|
Replies: 9
Views: 668
|
Forum: support.WinUAE
19 May 2022, 17:56
|
Replies: 11
Views: 1,345
|
Forum: Coders. Asm / Hardware
14 May 2022, 14:06
|
Replies: 3
Views: 931
|
Forum: Coders. Asm / Hardware
14 May 2022, 11:42
|
Replies: 21
Views: 1,742
|
Forum: support.WinUAE
02 May 2022, 14:52
|
Replies: 11
Views: 1,345
Page 121 (this is what I pressume you're...
Page 121 (this is what I pressume you're referring to):
Instruction Size op #,Dn op #,An op #,M
ANDI Byte, Word 8(2/0) — 12(2/1)+
Long 14(3/0) — 20(3/2)+
But also on page 120...
|
Forum: Coders. Asm / Hardware
21 April 2022, 14:33
|
Replies: 9
Views: 1,420
|
Forum: Coders. Asm / Hardware
20 April 2022, 20:16
|
Replies: 33
Views: 2,718
|
Forum: Coders. Asm / Hardware
05 April 2022, 19:21
|
Replies: 41
Views: 3,676
OK, to make it simple to understand... If data...
OK, to make it simple to understand... If data bus is e.g. 32-bit then the cpu always reads in 32-bit chunks and from 32-bit aligned addresses (0, 4, 8, 12, ...).
If you read a byte from address 5...
|
Forum: Coders. Asm / Hardware
05 April 2022, 18:00
|
Replies: 41
Views: 3,676
There is a bug, you read a word from the font...
There is a bug, you read a word from the font offset table into d3, and then add d3 as a longword to a1/a2. And d3 has old data in the upper word pointing to some fastmem location.
Either add d3 as...
|
Forum: Coders. Asm / Hardware
05 April 2022, 06:30
|
Replies: 41
Views: 3,676
The problem is data you blit is in fast memory...
The problem is data you blit is in fast memory ($dff04c and $dff050 contain fast memory ptrs), that's for the corrupt font/text on top of the red robocop image.
Also, DisableSystem is not 100%...
|