English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 297
Search took 0.02 seconds.
Search: Posts Made By: guy lateur
Forum: Coders. Asm / Hardware 29 December 2018, 22:15
Replies: 10
Views: 951
Posted By guy lateur
Ok I see, then I probably will have not much use...

Ok I see, then I probably will have not much use for it, as I don't have any old sources to compile, and I don't see any requirement to compile my source with Devpac. At least not for now.. ;)

...
Forum: Coders. Asm / Hardware 29 December 2018, 20:43
Replies: 10
Views: 951
Posted By guy lateur
Ok, thanks for the heads up. It seems I'm lucky...

Ok, thanks for the heads up. It seems I'm lucky to be targeting and testing on an A1200/020, then.. :)

So I guess I should probably have devpac compatibility turned on at all times? It feels a bit...
Forum: Coders. Asm / Hardware 28 December 2018, 21:06
Replies: 10
Views: 951
Posted By guy lateur
Please let me understand this correctly: you are...

Please let me understand this correctly: you are going to change the -devpac compatible behaviour to throw an error when the size is not specified? So I won't notice this change unless I specify...
Forum: Coders. Asm / Hardware 27 December 2018, 20:00
Replies: 10
Views: 951
Posted By guy lateur
Hmm, I also tend to have 1 scrTxtMem_SizeOf rs.w...

Hmm, I also tend to have 1 scrTxtMem_SizeOf rs.w at the end of my structures, but I usually have a lot more scrTxtMem_x rs.w 1 in there, which still makes 0 the wrong default to pick, in my...
Forum: Coders. Asm / Hardware 27 December 2018, 11:03
Replies: 10
Views: 951
Posted By guy lateur
Hehe, I did find that first manual entry, that...

Hehe, I did find that first manual entry, that refers to the second one, which, for some reason, I did not see. I guess it was getting late and I was getting tired. I did search for so.b and so on,...
Forum: Coders. Asm / Hardware 26 December 2018, 22:16
Replies: 10
Views: 951
Posted By guy lateur
vasm/mot: data structures

I've been using RS to define some data structures, like this:

EVEN
rsReset ; start struct scrTxtMem
scrTxtMem_PtrTopBlank rs.l 1 ; pointer to top blank...
Forum: Coders. Asm / Hardware 23 December 2018, 20:29
Replies: 6
Views: 982
Posted By guy lateur
You're right, it appears I was working with the...

You're right, it appears I was working with the wrong source. Sorry for the inconvenience and thanks again for the modification.
Forum: Coders. Asm / Hardware 23 December 2018, 18:34
Replies: 6
Views: 982
Posted By guy lateur
Thanks phx, that code modification works...

Thanks phx, that code modification works perfectly! :great


If I download the source snapshot of today (23/12), this modification does not seem to be included. I'm not sure this is intentional,...
Forum: Coders. Asm / Hardware 22 December 2018, 11:05
Replies: 10
Views: 655
Posted By guy lateur
D'oh! I knew I was gonna look stupid.. Thanks a...

D'oh! I knew I was gonna look stupid.. Thanks a lot for your help, you saved my holidays! :great I'm gonna go ahead and ruin them again in just a moment, probably.. ;)

Also thank you ross for your...
Forum: Coders. Asm / Hardware 21 December 2018, 21:50
Replies: 10
Views: 655
Posted By guy lateur
My AV probably just doesn't like me browsing...

My AV probably just doesn't like me browsing directly to ip-adresses and/or downloading a .rom file -- which is fair enough. Anyway, the AR cartridge now seems to work, which is nice, so thank you!...
Forum: Coders. Asm / Hardware 21 December 2018, 21:25
Replies: 10
Views: 655
Posted By guy lateur
Thanks, but that seems to prevent my machine...

Thanks, but that seems to prevent my machine (A1200, 3.1 ROM) from booting. Also, my antivirus went mental over it.. ;)
Forum: Coders. Asm / Hardware 21 December 2018, 20:58
Replies: 10
Views: 655
Posted By guy lateur
Wait, that's not the way to set it up, is it?...

Wait, that's not the way to set it up, is it? Where can I get this cartridge ROM?
Forum: Coders. Asm / Hardware 21 December 2018, 20:53
Replies: 10
Views: 655
Posted By guy lateur
Thanks for the tip, that's definitely something I...

Thanks for the tip, that's definitely something I should check out! I can't seem to get it to work, though. Nothing happens when I press PageUp/Down, it seems. Below are my settings (winUAE 4.0.1;...
Forum: Coders. Asm / Hardware 21 December 2018, 20:18
Replies: 10
Views: 655
Posted By guy lateur
Setting up screen parameters/DIW/DDF/..

I'm setting up a screen (PAL) with a layout like this:
61264
It has 4 parts, vertically, 2 of which are 'active':

1/4: upper red border (passive) (no bitplanes)
2/4: sfx area: 320x160, 5...
Forum: Coders. Asm / Hardware 17 December 2018, 17:00
Replies: 6
Views: 982
Posted By guy lateur
Great, thanks a lot! :great

Great, thanks a lot! :great
Forum: Coders. Asm / Hardware 16 December 2018, 20:23
Replies: 6
Views: 982
Posted By guy lateur
vasm/mot: include failed error message

When I try to include a file that does not exist, I get this error:

fatal error 13: could not open <scrTxtDef.ii> for input

Usually, when I get an error, it points me to the line that causes...
Forum: Coders. Asm / Hardware 08 December 2018, 11:07
Replies: 2
Views: 492
Posted By guy lateur
Excellent idea, thanks! :great

Excellent idea, thanks! :great
Forum: Coders. Asm / Hardware 08 December 2018, 00:08
Replies: 2
Views: 492
Posted By guy lateur
Measuring time/frames

I'm trying to check wether I get everything done inside the duration of a frame (ie, in a 50th of a second). Assuming I had a way of measuring time sufficiently accurately, I could measure the time...
Forum: Coders. Asm / Hardware 26 October 2018, 14:33
Replies: 51
Views: 2,291
Posted By guy lateur
Yes, always, that's what I meant! I'll never...

Yes, always, that's what I meant! I'll never learn, will I.. ;)

Seriously though, the bug above really had me doubting my own sanity at some point. I had inspected the memory of the structure...
Forum: Coders. Asm / Hardware 26 October 2018, 02:17
Replies: 51
Views: 2,291
Posted By guy lateur
Yeah, or maybe just add 2 to both D & A...

Yeah, or maybe just add 2 to both D & A registers? Or reverse them, so d0 -> d7, d1 -> d6, and so on. Avoiding A6 & A7, obviously, so a0 -> a5, a1 -> a4 and a2 -> a3. Not to mention possibly using...
Forum: Coders. Asm / Hardware 26 October 2018, 01:23
Replies: 51
Views: 2,291
Posted By guy lateur
Here's a good example of why I wanted to know...

Here's a good example of why I wanted to know more about the preservation of registers. I have this routine that logs the state of some structure in memory. It's a TextPage, containing a LineCount of...
Forum: Coders. Asm / Hardware 25 October 2018, 22:30
Replies: 51
Views: 2,291
Posted By guy lateur
Ah crap. It's not worse, though, I hope? :nervous

Ah crap. It's not worse, though, I hope? :nervous
Forum: Coders. Asm / Hardware 24 October 2018, 20:29
Replies: 51
Views: 2,291
Posted By guy lateur
I agree. Besides, I'll probably have quite a few...

I agree. Besides, I'll probably have quite a few other hurdles to take before this will become relevant -- if ever. Still, it's nice to know about these things, and we were on the subject anyway.
...
Forum: Coders. Asm / Hardware 24 October 2018, 19:58
Replies: 51
Views: 2,291
Posted By guy lateur
Alright, thanks for the tips, that should do me...

Alright, thanks for the tips, that should do me for now. :)
Forum: Coders. Asm / Hardware 24 October 2018, 19:22
Replies: 51
Views: 2,291
Posted By guy lateur
What is a reliable source for this kind of...

What is a reliable source for this kind of information? I found this (http://oldwww.nvg.ntnu.no/amiga/MC680x0_Sections/mc68000timing.HTML), but I find it a bit strangely organised. Maybe that's just...
Forum: Coders. Asm / Hardware 24 October 2018, 18:25
Replies: 51
Views: 2,291
Posted By guy lateur
Oh cool, so you're kinda 'stringing' those calls...

Oh cool, so you're kinda 'stringing' those calls together by pushing their adresses on the stack, rather than always coming back to the calling routine. Nice! And no, I don't have a Vampire (yet).. ;)
Forum: Coders. Asm / Hardware 24 October 2018, 12:20
Replies: 51
Views: 2,291
Posted By guy lateur
Alright, thanks a lot for the tips, much...

Alright, thanks a lot for the tips, much appreciated! :great
Forum: Coders. Asm / Hardware 24 October 2018, 11:52
Replies: 51
Views: 2,291
Posted By guy lateur
I see, that makes sense. So you're actually...

I see, that makes sense. So you're actually 'abusing' the rts contained in the called function to serve in the calling function. Quite clever, indeed! :)
Forum: Coders. Asm / Hardware 24 October 2018, 11:18
Replies: 51
Views: 2,291
Posted By guy lateur
How? Because I don't think moveq supports this...

How? Because I don't think moveq supports this adressing mode. Clr.b? And.b with 0? Eor with self?
Forum: Coders. Asm / Hardware 24 October 2018, 11:17
Replies: 51
Views: 2,291
Posted By guy lateur
For the record: my code had a jsr instead of a...

For the record: my code had a jsr instead of a jmp. Don actually changed it to jmp (thanks!), but I paid no further attention to it until now. So for clarity: when is it ok to use jmp instead of jsr?...
Forum: Coders. Asm / Hardware 24 October 2018, 01:59
Replies: 51
Views: 2,291
Posted By guy lateur
*m68k assembly noob alert* Oh, the register...

*m68k assembly noob alert*

Oh, the register indirect with index and offset adressing mode, you mean? Thanks, you're absolutely right! :great No idea how I could've missed that, tbh.. ;)
Forum: Coders. Asm / Hardware 24 October 2018, 00:48
Replies: 51
Views: 2,291
Posted By guy lateur
Ok, thanks for the tip! :)

Ok, thanks for the tip! :)
Forum: Coders. Asm / Hardware 24 October 2018, 00:47
Replies: 51
Views: 2,291
Posted By guy lateur
Thanks, nice catch! :great Corrected code: ...

Thanks, nice catch! :great
Corrected code:


;-- copy chars into textBuffer and zero-terminate it
;in: a0: source pointer
;in: d0: # characters to copy
copyToBuffer:
move.l ...
Forum: Coders. Asm / Hardware 24 October 2018, 00:11
Replies: 51
Views: 2,291
Posted By guy lateur
Maybe my question wasn't clear. I understand what...

Maybe my question wasn't clear. I understand what the problem is, I was just wondering if you happened to know of any specific library call (eg, like OpenDevice() in exec lib) that expects the base...
Forum: Coders. Asm / Hardware 23 October 2018, 23:42
Replies: 51
Views: 2,291
Posted By guy lateur
Really? So you're saying that sometimes: 1. the...

Really? So you're saying that sometimes:
1. the base needs to be in a6
2. a6 may have changed after the call
That would explain the way it's frased in the docs, though.
Forum: Coders. Asm / Hardware 23 October 2018, 23:39
Replies: 51
Views: 2,291
Posted By guy lateur
I see, now that's interesting. Although I've...

I see, now that's interesting. Although I've always done this, I didn't know it was a requirement in some cases, so thanks for pointing that out! Can you maybe think of an example where this is the...
Forum: Coders. Asm / Hardware 23 October 2018, 23:11
Replies: 51
Views: 2,291
Posted By guy lateur
That would definitely make the most sense,...

That would definitely make the most sense, alright. :agree

I'm not really sure why it is even mentioned in that part of the docs pertaining to preserved registers, to be honest. Unless the...
Forum: Coders. Asm / Hardware 23 October 2018, 22:55
Replies: 51
Views: 2,291
Posted By guy lateur
Thanks for clearing this up, guys! :great ...

Thanks for clearing this up, guys! :great

And while on the subject of clarity: the libray docs state "Amiga library functions use registers D0, D1, A0 and A1 for work space and use register A6 to...
Forum: Coders. Asm / Hardware 23 October 2018, 22:28
Replies: 51
Views: 2,291
Posted By guy lateur
Preservation of registers

I think I read somewhere that d0 & d1 and a0 & a1 can be changed by subroutines, while the rest is supposed to be left unchanged. Is this correct? For example:


;-- copy chars into textBuffer and...
Forum: Coders. Asm / Hardware 22 October 2018, 12:08
Replies: 4
Views: 612
Posted By guy lateur
Yep, that's what I thought. Thank you both for...

Yep, that's what I thought. Thank you both for your inputs! :great
Showing results 1 to 40 of 297

 
Forum Jump

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


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