This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (680 messages)
Ingvar, just sent you some serial.device assembler routines through binary EMail. – wkc – … via AP from Hamburg, Germany
uh i have noidea why you said that… but therisisters are bigger thenpentium chips… …
Werner, >> BTW, do you speak German ? Yes! (Und sogar besser als Englisch. 😉 ) Thank you again, Ingvar
Ingvar, >> If you have example code could you please mail it to me I'll mail some example code to you. But wait one or two days, as I have to check the comments in my code I probably added out of frustration :-). BTW, do you speak German ?…
Hi Werner, >> As this is the ASM section, you are interested in some Assembler example code, no? Yes, I am interested in Assembler code. If you have example code could you please mail it to me. Thanks, Ingvar Lange
Ingvar, >> Is there anyone who can tell me how to open/use the serial-device in >> Amgia OS1.3? yes, I probably can. As this is the ASM section, you are interested in some Assembler example code, no? BTW, there is no difference between OS 1.3 and OS 2.0 in programming…
#serial-device
Message #48556
Is there anyone who can tell me how to open/use the serial-device in Amgia OS1.3? Thank you, Ingvar Lange
>> the conclusion I came to was not to expect .. [any behaviour] Good conclusion. You never know what a new release or an alternate shell might do. –Jim
I did mean they never covered them in the manuals, not everyone could get hold of the ondisk examples and docs. I only got them this year 🙂 Phill
The conclusion that I came up with was not to expect what characters were at the beginning or end of the parameters. At least then the software should work in all debuggers & shells. Phill
Philip, >> CBM never really covered all the important topics when parsing command >> parameters. take a look in the C= official start-up code called `startup.asm' (v 36.13). You may determine from that code and from the supplementory text file `UsingAmigaStartups' how the CLI arguments should be read. – wkc…
No, the debug packages lead you astray. The CLI/Shell A0 pointer is to the first non-space character. (Since I couldn't trust the debuggers, had to write a special program to test it, but it's true, at least with 3.1). –Jim
That's pretty much what I said, except I don't believe that you should rely on there being a LF at the end. I can't try it out as my amiga is very dead at the moment 🙁 As far as I am aware the CLI gives you a leading space…
The command tail is indeed pointed to by A0, with D0 containing the number of bytes it has. This is not your raw command tail, since redirection information will have been removed. The value in D0 includes the trailing NewLine character; as far as I know, that character is always…
The reason why devpac causes a crash from the edit screen ( well in my opinion anyway ) is that the argument passing to a cli program is defined by cbm as being a string pointed to by a0, with d0 bytes in it. There is no defined terminator. Now,…
Thanks for the tip. I'll give ReadArgs a try, although I have been using the other approach successfully for nearly four years with CAPE2.5 (there WAS no ReadArgs then). It is still frustrating that it works as is in Debug, but crashes from the Edit screen. Except that often I…
It's been 11 days since your response (for which I thank you), so I should probably remind you what it was: > When your program is called the arguments are pointed to by a0. > Additionally the length of the argument is stored in d0. > What you need to…
I recommend you use ReadArgs. It is a little more failsafe. I write all programs on Devpac 3 with no problems like you are having.
Ok, this one is pretty simple 🙂 When your program is called the arguments are pointed to by a0. Additionally the length of the argument is stored in d0. What you need to do is copy using a dbra loop and then store a zero at the end. I don't…
Phill, I'm really glad to hear from you. I knew another user (in England) but he joined a monastery last spring (no connection with computing). I was wondering if I should try readargs, but haven't gotten around to it yet. It didn't exist when I wrote the working version of…
Where to get
Message #48079
Does anybody know the number for Hisoft the makers of devpac?
I have used devpac3 succesfully, this sounds very tricky, maybe you are relying on certain registers being set or you are storing a long value in word storage, or overwritting the stack. How long is your program, maybe you could post it here? To read the cli is pretty simple…
#using DevPac
Message #48024
Any successful DevPac3 users out there? I'm switching from Cape2.5, but having some strange problems. I get proper results with a program segment (reads a file-name argument from the CLI) when I run it in the debugger, but get garbage running from the editor screen (unless I have run it…
060 has more and larger registers than the 040? is that cpu/fpu or both? I hadn't heard anything like that before Phill
well a 68060 has more registers,larger than the 040 ones it has 64bit divide/other junkand a 12k mmu page size.. barfly 1.24 is 50 dolloars registered…look at it in the aminet developers/c/ or something similar i'd get it but don't know amiga assembler the demo is prety useless though it…
What exactly is added in 68060 assembler? Phill
68060 programing
Message #47941
to all those people who want to write amiga 68060 apps it is now possible through barfly 1.29 assembler it's a 70DM/50 US dollar assembly program for the amiga which has support for 68060 and other things,complete with documentation… and other utilities… Barfly is available at ftp.netnet.net/pub/.aminet/dev/asm/ and at aminet…
I agree about using lea jim, it also helps with the problem of missing out the # (something I had problems with 6502 as well). As I only have an a500 at present (my a1200 doesn't have a big enough hard drive or enough memory for me to use as…
>> Some people don't like the LEA instruction…. Of course, one advantage of LEA over MOVE.L # is that you get a richer set of addressing modes. In particular, programmers writing a "small code" model can do: LEA ASCFONT(PC),A0 which makes the instruction shorter and faster, and also saves you…
> From your code, which due to formatting problems I cannot read to well Sorry about that, Phill. I write code with Memacs, and when I imported it into AutoPilot the s were all ignored, so I tried to fix it with spaces. I suspect you got both the tabs…
I couldn't see anything else wrong except you need to change the line move.l ascfont,a0 to move.l #ascfont,a0 or preferably lea ascfont,a0 Some people don't like the lea instruction because it can't be used to load a value into a data register, only address registers. What you would find if…
From your code, which due to formatting problems I cannot read to well, your first move should either be a move # or the lea instruction (I prefer to use lea). Instead of getting the address of the structure, you are actually reading the first long word of the structure.…
#OpenDiskFont()
Message #47219
I wanted to specify a text font and size in a program under development. So I (successfully) open diskfont.library and save its address as DFLbase. Then I attempt to open the font, with the following code: move.l ascfont,a0 my TextAttr structure move.l DFLbase,a6 SYS OpenDiskFont(a6) move.l d0,txtfnt beq close [Followed…
We need a book like the one you mentioned. Could you give us the phone number for the publisher. Thanks!
If you can find them, there are a couple of books by Paul Overaa. One is called Mastering Amiga Assembler, and the other is called Amiga Assembler Insider Guide. They are published by Bruce Smith Books in England, but are available in the US. They are EXCELLENT books! Highly recomended!…
Reference: do get a copy of (Bantam's) Amiga DOS Reference Manual, the most recent you can find, but at least covering V2.0 if you can (they may be getting hard to find). Although users of higher level languages often get a lot of the DOS stuff inserted as "canned" code,…
#Books
Message #46046
Can anyone tell me any experiences with 680×0 assembly books. I'm looking for something of a reference/tutorial. I can read PC assembly but not too knowledgable. Any suggestions would be welcome. Thanks, Joe P.S. I did download the beginners guide and the 68000 quick reference guides from this forum.
Hmmm. OK, then, look for something in the libraries called ThreeBallTrick – it includes source in C for working with specs.library and some "glu" assembler code, as well as the xspecs.library. If you can't find it, let me know and I'll binary-EMail it to you. Harry
Daniel Wolf, of MegageM is here on CI$, he sells his own software which works with the field-3d stereo glasses like those from Haitex. He also has 3d tapes and other stuff. He would probably be the one to talk to.
I got the glasses, the interface adaptor, an 'easy-reading' book, and a disk with nothing but demos and 'SpaceSpuds' ; the game. There was no source code or examples on how to program using them. I bought these glasses about 6 or 7 years ago, so they might have been…
If you have the disk that came with the glasses, there should be an example or two on it (in assembler too, I think). There is also xspecs.library somewhere in the forum libraries that might help. If you don't have the disk, let me know and I'll see what I…
#X-Specs3D Stereographics
Message #45545
I've found the Lost Ark of the Covenant!!! But I cannot find any help programming Haitex's X-Specs 3D Stereoscopic Glasses. For the past three weeks, I have been searching and imploring for assistance on this. Haitex, the company which created and sold the glasses is defunct. No assistance can be…
The texture mapping algorithm that I have seen works by stepping through screen pixel positions and calculating which pixel in the bitmap should be plotted there. If you tried doing this directly from Amiga bitmaps you would either have transfer one bit from each bitplane for each pixel or do…
>> I think that you may be right here. What I was thinking about is why do >> I need a chunky to planar converter in the first place? If I'm using >> bitmaps that were created in a native Amiga display mode and converted >> ahead of time to…
>I can send you what I've done; it's just a very simple scaler, though. If >you swap out the chunky-to-planar routine I used, it should run on a 68000 >machine. I'll look forward to seeing it. >Since the 68000 is so much slower than the 68040, the chunky-to-planar >might not…
>> I'm working on a DOOM sytle engine myself, I'ld be REALLY interested >> in how this is done. I can send you what I've done; it's just a very simple scaler, though. If you swap out the chunky-to-planar routine I used, it should run on a 68000 machine. Oh,…
>Keep in mind that the Amiga's chip RAM (where the screens are) is MUCH >slower than its fast RAM due to DMA contention. So if you really want >speed, you might be better off using your fast CPU to plot your pixels to >a buffer in fast RAM and then…
Leigh – Keep in mind that the Amiga's chip RAM (where the screens are) is MUCH slower than its fast RAM due to DMA contention. So if you really want speed, you might be better off using your fast CPU to plot your pixels to a buffer in fast RAM…
#PIXEL PLOTTING
Message #45335
Please help me as I am trying to plot single pixels on an AMIGA screen VERY quickly. I want to do this in asm using DEV Pac 3 on an A1200 with 50MHz 68030, 6 Mb RAM. I also could use HiSoft Pascal and link in an asm object file.…
Mal – Many thanks for the reply. I actually thought of posting the question to you when I saw your name on GamDev, but I wasn't quite frustrated enough. (The screen has to be in CHIP RAM! ARRGH! It's always the _obvious_ stuff that gets me! 'Scuse me while I…
Page 1 of 14