English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 224
Search took 0.03 seconds.
Search: Posts Made By: Kalms
Forum: Coders. Asm / Hardware 23 January 2020, 09:30
Replies: 13
Views: 842
Posted By Kalms
For your reference, the M68000PRM...

For your reference, the M68000PRM (https://www.nxp.com/files-static/archives/doc/ref_manual/M68000PRM.pdf) states on page 4-128 in the MOVEM description:
Forum: Coders. Asm / Hardware 14 January 2020, 13:14
Replies: 21
Views: 1,144
Posted By Kalms
Alright. Think about it like this: when the...

Alright. Think about it like this: when the Copper reaches the SKIP instruction, it will test the blitter busy flag (if requested), and perform a masked comparison against the current VHPOSR register...
Forum: Coders. Asm / Hardware 14 January 2020, 08:45
Replies: 21
Views: 1,144
Posted By Kalms
Quoting from...

Quoting from http://amigadev.elowar.com/read/ADCD_2.1/Hardware_Manual_guide/node0049.html:
Forum: Coders. Asm / Hardware 06 January 2020, 15:38
Replies: 33
Views: 1,276
Posted By Kalms
I would rather generate a warning here, which can...

I would rather generate a warning here, which can optionally be switched off. It might be an error (hence the warning), but as it makes no sense to use absolute addresses in PC-relative addressing...
Forum: Coders. Asm / Hardware 05 January 2020, 21:43
Replies: 33
Views: 1,276
Posted By Kalms
I expect that blah in blah(pc) or (blah,pc) to be...

I expect that blah in blah(pc) or (blah,pc) to be a reference to a symbol or an absolute address. I expect it to never be a literal displacement value. If it ever can be a displacement value (like it...
Forum: Coders. Asm / Hardware 28 December 2019, 20:18
Replies: 4
Views: 518
Posted By Kalms
Too short. The copper can perform 1 operation per...

Too short. The copper can perform 1 operation per 8 lores pixels under ideal conditions. You will need to rely on some other method. For example, perhaps you can draw the color pattern into...
Forum: Coders. Asm / Hardware 27 December 2019, 22:48
Replies: 3
Views: 471
Posted By Kalms
Remove the 'Zp1' switch from Makefile.Win32. ...

Remove the 'Zp1' switch from Makefile.Win32.

The official version will eventually get fixed too, I reported this recently.
Forum: Coders. Asm / Hardware 17 November 2019, 00:25
Replies: 6
Views: 596
Posted By Kalms
If it is approximately 10 3x3-pixel-objects, the...

If it is approximately 10 3x3-pixel-objects, the biggest question is probably how many cycles the per-object overhead is. Regardless of method, the per-object overhead for a 3x3 object is bigger than...
Forum: Coders. Asm / Hardware 04 November 2019, 17:38
Replies: 29
Views: 1,555
Posted By Kalms
Check out 68030um, section 11.2.5.2, 'Write...

Check out 68030um, section 11.2.5.2, 'Write pending buffer'. The 030 can pass a single write operation to this subsystem in the CPU and get on with processing while the bus microcontroller talks to...
Forum: Coders. Asm / Hardware 18 August 2019, 20:49
Replies: 9
Views: 1,260
Posted By Kalms
No problem. This server is running at a big...

No problem. This server is running at a big provider in Berlin and has lots of bandwidth.[/QUOTE]

I have gone with the 3rd option; first I build a Docker image with make/vasm/vlink/testrunner-68k,...
Forum: Coders. Asm / Hardware 18 August 2019, 20:40
Replies: 9
Views: 1,260
Posted By Kalms
Good idea. JUnit XML output is now working, and...

Good idea. JUnit XML output is now working, and CircleCI can display the results. It is not much more than a pass/fail list with core dump info atm - in the future I hope to include source file:line...
Forum: Coders. Asm / Hardware 18 July 2019, 22:01
Replies: 38
Views: 2,275
Posted By Kalms
@roondar, perhaps this helps: One PAL long...

@roondar, perhaps this helps:

One PAL long frame is 227 buscycles/line x 313 lines = 71051 buscycles. 49.92fps refresh rate = 3,546,867 buscycles/second.

Whenever the CPU - regardless of if...
Forum: Coders. Asm / Hardware 17 July 2019, 08:37
Replies: 4
Views: 812
Posted By Kalms
This is detailed in the Hardware Reference...

This is detailed in the Hardware Reference Manual. The OCS manual applies to a large extent even for the AGA machines. This page specifically:...
Forum: Coders. Asm / Hardware 27 June 2019, 09:07
Replies: 5
Views: 704
Posted By Kalms
... Or, if the hi-value has changed between the...

... Or, if the hi-value has changed between the two reads, repeat the entire operation and check again.
Forum: Coders. Asm / Hardware 12 June 2019, 15:44
Replies: 9
Views: 1,260
Posted By Kalms
Thanks, good to know. I wasn't sure whether those...

Thanks, good to know. I wasn't sure whether those URLs were guaranteed to be persistent, and whether you would be happy with CI systems downloading one of those packages every time a new build...
Forum: Coders. Asm / Hardware 12 June 2019, 13:27
Replies: 18
Views: 1,497
Posted By Kalms
Given the nature of the difference (one...

Given the nature of the difference (one "instruction slot" more consumed by the code), in some situations it will have the same runtime speed on 060; in some situations it will be 1 cycle slower....
Forum: Coders. Asm / Hardware 11 June 2019, 21:28
Replies: 9
Views: 1,260
Posted By Kalms
@phx On the topic of CI and tests... It is...

@phx On the topic of CI and tests...

It is problematic for me to use vasm & vlink in automated tests, due to how vasm/vlink are distributed and their licenses.

In order to use vasm/vlink in a...
Forum: Coders. Asm / Hardware 11 June 2019, 17:18
Replies: 9
Views: 1,260
Posted By Kalms
I'm using Rust for this for learning purposes +...

I'm using Rust for this for learning purposes + it produces small, self-contained executables.

I would like to get some sort of OS call support in there. Vamos looks nice, except that it is in...
Forum: Coders. Asm / Hardware 10 June 2019, 22:43
Replies: 9
Views: 1,260
Posted By Kalms
testrunner-68k: a test runner for 680x0 code

Here is my latest hobby project: a test runner for 680x0 code (https://github.com/Kalmalyzer/testrunner-68k).

This is like a test runner for high level languages, except that it comes with a...
Forum: Coders. Asm / Hardware 25 May 2019, 03:26
Replies: 18
Views: 1,497
Posted By Kalms
It is worse on 060 as well. The move.l #imm,an...

It is worse on 060 as well. The move.l #imm,an would go into one of the pipelines, taking a single instruction slot, and pair with anything else; the suggested replacement instruction pair will take...
Forum: Amiga scene 29 April 2019, 17:59
Replies: 116
Views: 15,287
Posted By Kalms
Yes, only a dream. The Amiga accelerator market...

Yes, only a dream. The Amiga accelerator market of today is too fragmented for us to target one of the new boards specifically. If anything we would either target 060/50 since the real 060 boards...
Forum: Amiga scene 28 April 2019, 15:09
Replies: 116
Views: 15,287
Posted By Kalms
The current version does not work correctly on...

The current version does not work correctly on all AGA/68020+ machines. We are fixing those bugs. We intend to publish a hard disk version of the demo as well.
Forum: Coders. Asm / Hardware 17 April 2019, 15:23
Replies: 34
Views: 2,066
Posted By Kalms
If you know the display mode then you can do...

If you know the display mode then you can do that. Some time ago I wrote an implementation that counts bus cycles and then triggers mixing as needed from the VBI, and mixes incrementally into a...
Forum: Coders. Asm / Hardware 09 April 2019, 18:05
Replies: 10
Views: 855
Posted By Kalms
That is correct. Making (near) cycle accurate...

That is correct. Making (near) cycle accurate emulation is a lot of work and costs a lot of processing power. For a stock A500 it is worth it since the machine+CPU is not that complicated, many...
Forum: Coders. Asm / Hardware 23 March 2019, 18:22
Replies: 27
Views: 1,808
Posted By Kalms
Try writing out what you want to accomplish as C...

Try writing out what you want to accomplish as C code first. Then translate that into assembly, chunk by chunk.

You have global variables both in C and assembly.

You have raw, linear logic in...
Forum: Coders. Asm / Hardware 06 February 2019, 20:28
Replies: 7
Views: 917
Posted By Kalms
The bit field instructions become even more...

The bit field instructions become even more interesting when the input parameters vary dynamically. That is, imagine that you need to extract a variable-length bit sequence from a varying bit offset...
Forum: Coders. Asm / Hardware 11 December 2018, 13:04
Replies: 4
Views: 749
Posted By Kalms
That ought to work. If it is OK to have one...

That ought to work.

If it is OK to have one of the sides' edge-line lie 1 pixel outside of the filled polygon, then left+right can be handled in a single pass. Similarly, up+down can be handled in...
Forum: Coders. Asm / Hardware 27 November 2018, 21:34
Replies: 28
Views: 1,951
Posted By Kalms
This might be relevant:...

This might be relevant: http://eab.abime.net/showthread.php?t=91412

Snippet from our blitter interrupt handler after that thread discussion:...
Forum: Coders. Asm / Hardware 10 November 2018, 14:32
Replies: 1,000
Views: 45,541
Posted By Kalms
Yes - however, you get the full convenience in...

Yes - however, you get the full convenience in 8088 up to only 64kB to data. As you go above 64kB (not all data fits into a single 64kB data segment) it gradually gets more and more complicated....
Forum: Coders. Asm / Hardware 10 November 2018, 12:28
Replies: 1,000
Views: 45,541
Posted By Kalms
You are correct in that 68000 does not support...

You are correct in that 68000 does not support table[offset1+offset2] in a PC-relative manner. 8088 does support that operation out of the box.

There is one particular situation where I have found...
Forum: Coders. Asm / Hardware 03 November 2018, 22:29
Replies: 1,000
Views: 45,541
Posted By Kalms
I disagree with your analysis. Relocatable...

I disagree with your analysis.

Relocatable code on 68k, where the addressing is within a 32kB memory area, is typically the same size, or smaller than, non-relocatable code. Where you would...
Forum: Coders. Asm / Hardware 03 November 2018, 20:55
Replies: 1,000
Views: 45,541
Posted By Kalms
I can't agree, this feature of DOS relies very...

I can't agree, this feature of DOS relies very hard on the segment registers which are the part of ISA giving some superiority to 8086. I can also mention CP/M-86, MP/M-86, ...[/QUOTE]


68k have...
Forum: Coders. Asm / Hardware 21 October 2018, 22:50
Replies: 1,000
Views: 45,541
Posted By Kalms
My experience from developing for 8088-80286 is...

My experience from developing for 8088-80286 is that for smaller programs - that is, programs that fit into a single 64kB segment, and where data would fit into a few 64kB segments - such that each...
Forum: Coders. Asm / Hardware 05 October 2018, 08:45
Replies: 6
Views: 749
Posted By Kalms
If you want 100% bit-precise results, and both...

If you want 100% bit-precise results, and both input operands are randomly distributed 32-bit values, then I don't think there is much you can do.

I believe that the CPUs that offer MULHIGH...
Forum: Coders. Asm / Hardware 24 September 2018, 08:09
Replies: 44
Views: 3,805
Posted By Kalms
I'm not going to spend more time on this myself,...

I'm not going to spend more time on this myself, but from what I can see so far the two main challenges will probably be 1. memory consumption for the precomputed masks (with too few masks, the...
Forum: Coders. Asm / Hardware 23 September 2018, 17:35
Replies: 44
Views: 3,805
Posted By Kalms
Alright, that makes your idea a lot more...

Alright, that makes your idea a lot more concrete, thanks.

Here are some more things for you to consider when you refine this:

- How many mask patterns do you need? Is there a trade off...
Forum: Coders. Asm / Hardware 23 September 2018, 17:07
Replies: 44
Views: 3,805
Posted By Kalms
Okay. When the CPU "prepares" a chunk, do you...

Okay. When the CPU "prepares" a chunk, do you intend that the CPU draws the mask pattern into a buffer? Effectively drawing the left- and right- edges of a 16-pixels-high segment of a triangle into a...
Forum: Coders. Asm / Hardware 23 September 2018, 15:56
Replies: 44
Views: 3,805
Posted By Kalms
Out of curiosity, what performance would you...

Out of curiosity, what performance would you estimate that this gives you?
Forum: Coders. Asm / Hardware 07 May 2018, 08:45
Replies: 6
Views: 780
Posted By Kalms
Almost. You need to handle the implicit leading...

Almost. You need to handle the implicit leading 1-bit for the mantissa. The exponent for the remaining value may then become smaller than (original exponent - 53). Extreme example: what if the lowest...
Forum: Coders. Asm / Hardware 06 May 2018, 16:12
Replies: 6
Views: 780
Posted By Kalms
Convert the original value to 96-bit...

Convert the original value to 96-bit floating-point binary representation (for example, by assembling an FMOVE.X #IMM, FPn instruction). Extract the exponent and mantissa values separately. Split the...
Showing results 1 to 40 of 224

 
Forum Jump

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


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