English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 16 of 16
Search took 0.01 seconds.
Search: Posts Made By: hmn
Forum: Coders. General 23 November 2019, 14:04
Replies: 16
Views: 644
Posted By hmn
Could you combine the tables? That would spare...

Could you combine the tables? That would spare one array access.


// entry: (filling << 8) | pattern
extern UWORD lut[512];
[...]
filllpat = lut[(fillpat & 0xff00) | *fillptr];
*fillptr++...
Forum: Coders. C/C++ 20 February 2019, 00:00
Replies: 1,192
Views: 134,248
Posted By hmn
Make infers automatically that is has to compile...

Make infers automatically that is has to compile the objects with a C++ compiler - but you only tell it what C compiler to use (variable CC), and thus it uses the system default (c++) for your cpp...
Forum: Coders. C/C++ 03 January 2019, 09:54
Replies: 8
Views: 1,420
Posted By hmn
My guess (not having looked at the code):...

My guess (not having looked at the code): "syscall" is probably ixemul's actual Unix kernel emulation (in which case "SYS_setitimer" is a constant) or a wrapper (in which case "SYS_setitimer" is a...
Forum: Coders. Asm / Hardware 02 January 2019, 01:02
Replies: 5
Views: 708
Posted By hmn
Later on in Photon's tutorials (episode 12), he...

Later on in Photon's tutorials (episode 12), he cleans up his code not to use fixed adressing and sets addresses in the copperlist at runtime.
Forum: Nostalgia & memories 22 August 2018, 23:20
Replies: 26
Views: 2,552
Posted By hmn
That definition seems to declare "sandbox" the...

That definition seems to declare "sandbox" the same as "open world", which I wouldn't agree with. It only focuses on free roaming and non-linearity aspects, and I would consider none of the Games...
Forum: Retrogaming General Discussion 28 July 2018, 15:24
Replies: 4
Views: 557
Posted By hmn
As roondar already mentioned - those images...

As roondar already mentioned - those images surely were tiled on the
SNES (and the original arcade) and did not take up 350K in
memory. They had to fit into 64K of VRAM the SNES has after all. So...
Forum: Coders. C/C++ 26 July 2018, 09:13
Replies: 69
Views: 3,873
Posted By hmn
That is wrong :) Pointer addition does not work...

That is wrong :) Pointer addition does not work in bytes(*) - so &a+4 points to four sizeof(double) after the address of a.

EDIT: (*) unless you have a byte pointer of course...
Forum: Coders. Tutorials 26 July 2018, 08:51
Replies: 2
Views: 1,930
Posted By hmn
"WB" saves a memory dump - not what you want. Use...

"WB" saves a memory dump - not what you want. Use "WO" instead. Also see the full manual here (https://archive.org/details/AsmOne1.02Manual).
Forum: Coders. Asm / Hardware 09 July 2018, 09:27
Replies: 5
Views: 713
Posted By hmn
Look at the binary, does it start with $03f3 ?...

Look at the binary, does it start with $03f3 ? That is the header block id for executables (load files), whereas $03e7 is the header block id for linkable files. I would be really surprised if the...
Forum: Hardware mods 30 June 2018, 17:08
Replies: 33
Views: 4,591
Posted By hmn
I have put the code online here...

I have put the code online here (https://gitlab.com/chenz/p2aka). I'm not actively working on this, and I don't even have my Amiga working atm :sad (so I cannot really test any changes), but feel...
Forum: Hardware mods 29 June 2018, 01:40
Replies: 33
Views: 4,591
Posted By hmn
Other way around :) But yeah, they are...

Other way around :) But yeah, they are compatible. One can use a passive adapter to convert between the two.



No idea really, those are part of the keyboard's circuitry. I may put the code...
Forum: Hardware mods 28 June 2018, 22:09
Replies: 33
Views: 4,591
Posted By hmn
I have modded an AT keyboard (large DIN...

I have modded an AT keyboard (large DIN connector, i.e. not PS/2) for use with my A2000, using an ATtiny85. I even made a PCB with the proper connectors so the installation is completely reversible...
Forum: Coders. Asm / Hardware 13 March 2018, 12:03
Replies: 8
Views: 738
Posted By hmn
I see, I understood it like you wanted to have...

I see, I understood it like you wanted to have the comments from your C code retained along with the generated assembly.

/* comment */ should work in assembly as well [1...
Forum: Coders. Asm / Hardware 13 March 2018, 11:09
Replies: 8
Views: 738
Posted By hmn
Comments are removed by the preprocessor, so the...

Comments are removed by the preprocessor, so the C compiler that emits the assembly code never even sees them.

EDIT: Inline assembly might work:

int foo(int x)
{
/* hello c */
asm("/*...
Forum: support.Hardware 03 November 2017, 00:43
Replies: 11
Views: 970
Posted By hmn
My Amiga 2000 (PAL, 6.2) had a 80x80x25 Nidec fan...

My Amiga 2000 (PAL, 6.2) had a 80x80x25 Nidec fan in the PSU, although it is actually in an A2500 case (and then even among A2000s different PSUs were probably used over time or in different...
Forum: support.Hardware 20 June 2017, 06:32
Replies: 20
Views: 4,130
Posted By hmn
Just a quick note about the M100s - i have two of...

Just a quick note about the M100s - i have two of these, a black one and a white one (used with my PCs, no Rys etc. here). The white one moves erratically when used on a matte white desk surface, I...
Showing results 1 to 16 of 16

 
Forum Jump

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


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