This is an archive of CompuServe forum messages from 1985 to 1995, as saved in transcripts by John Foust.
Search Results (394 messages)
Doug, Thanks for you comments, and apologies for the delay in replying (I've been out of the country for some weeks.) re: using Commodore's IEEE libraries from a task and a process, you say that it is technically illegal to pass library bases between tasks/processes. In this case, I am…
Steve, I have an A2000 with 1M chip, 4M of 16-bit fast RAM, a GVP '030 25MHz accelerator with 13M of 32-bit RAM, and a Picasso 2, with WB 3.1 It all seems to work fine, though I don't know anything about AGA emulation, nor about games. I did have…
Math in processes
Message #45410
Many thanks to everybody who has helped me in the last couple of months. I'm beginning to get the hang of C at last. Apologies for not replying to all who helped. Now can someone help me with the following program, please? The Process_Test routine is called twice, first as…
James, Is this the kind of thing you had in mind: /* First open your window: */ Window = OpenWindow(… etc …) or OpenWindowTagList( … etc…) /* Now attach a console to it: sprintf(Buffer,"CON://///WINDOW%lx", Window); if(! (Con_FileHandle = Open( Buffer, MODE_OLDFILE)) ) printf("Can't open Console handler."); /* Now you can…
A further question, related to the above, is how do I define, initialise and access an array of unions? I would like to have an array of double floats, but I need to initialise them as pairs of longs, for the sake of guaranteed precision to the last bit. How…
#Unions
Message #44817
I wold like to have a convenient way of handling double floats so that I can refer to them either as a double float or as two long words, without constant type-casting. I have tried using: #define High 0 #define Low 1 union DoubleFloat { double dp; // A double…
Doug, Having asked the question that started this thread off, I went away and used the advice I had received. Some days later, I came back with an even more difficult problem (for me), but before I could compose my question, I found that you had already answered it. -…
Steve, Many thanks for your help. Regards, Shraddhan (via AP from Hertfordshire, England)
Peter, Thanks for showing me how to create arrays of structures. I now have a little problem that has had me baffled for the last three hours, and I have discovered that it is to do with the use of EXTERN. I'm having some difficulty referring in one file to…
Werner, I can appreciate the logic of sticking to octal. I had just hoped that there might have been an easy way of avoiding the confusion between interpreting a digit as octal or hex, and interpreting it as an ASCII character. Oh well, I do have that bit of code…
Jim, Thanks for your help. I've got it all sorted out now. > If converting the characters following the special characters is too > much trouble, you could always write a program to parse your dc.b > statements into #defines with hex or octal strings for you. (Or is >…
> You wouldn't happen to know any reasons why my crashing program > doesn't crash under Enforcer, Mungwall, and Sushi, would you? As I have never seen your program, and don't know what kind of crash you get, this is a toughie. Some of my crashes occur when the processor…
> According to Kernighan and Ritchie the \xnn syntax can have as many > hex digits as you like. Did these K & R guys do any _real_ programming, I wonder? Back in the days when they invented C, surely all characters were at most 8 bits long. Thanks for…
Jim, And I'd been hoping that there was an easy answer to defining arbitrary strings. I _knew_ that I hated C, but had forgotten why. Thanks for your help. Regards, Shraddhan (via AP from Hertfordshire, England)
Werner, Thanks for your suggestion for writing the whole string in octal. I have used your suggestion, as it works, with the addition of a comment to show me what the string really is, as I find a string such as "\233\60\40\160" to be totally unpenetrable. Regards, Shraddhan (via AP…
Jim, I tried your suggestions, and got none of them to work 🙁 In the line: char string[] = { '\0x9b',"0 p",'\0' }; aren't you mixing up characters and strings? My current thinking is that there seems to be no easy, convenient solution. I _knew_ there was a reason why…
> If you state your question in English maybe I can help Right, given that I can define a string in C as, for example, "ABCD" – which a represents a pointer to the byte values 65, 66, 67, 68, 0 – I would like to know if there is…
Jim, An extract from the README file for STATRAM 2.2: ———————————————————————— STAT-RAM 2.2 ———————————————————————— A joint effort by Richard Waspe INTERNET : waspy@cix.compulink.co.uk USENET : rwaspe@hamlet.adsp.sub.org FIDONET : 2:255/72.2 Nicola Salmoria INTERNET : MC6489@mclink.it StatRam is a very fast, very recoverable ram drive. It works on any Amiga using V2.04…
Jim, I invariably send the output from Enforcer to a recoverable RAM disk – I think it's called STAT-RAM or SD0 Then, even when the machine has crashed, the file is still there after a warm boot – i.e provided you didn't turn the power off! Regards, Shraddhan (via AP…
#Strings in C
Message #44152
Having yet again tried to get to grips with C, I have a little question for you old hands: How do I define in C (using DICE) the string which in assembler is: dc.b $9B,"0 p",0 If I use "\x9B0 p" I get the equivalent of $B0," p" with a…
Right, I've now got both hard drives connected to the same controller. The problem is exactly the same – the Fujitsu drive is not recognised on cold boot. Regards, Shraddhan (via AP from Hertfordshire, England)
In my case, I have a Fujitsu 507MB hard drive and a Quantum 240MB hard drive, both on the one SCSI controller. On cold boot, the Fujitsu drive is never recognised and only appears after a warm boot, or if the cold boot process is delayed by holding down both…
Wayne, Usually when I run Enforcer, I direct its output to a file in a recoverable RAM drive. I use Richard Waspe's Stat-RAM which seems to survive even the worst crashes. Regards, Shraddhan (via AP from Hertfordshire, England)
John, > As you may know … you need a 50-pin SCSI cable … I think my mind must have switched off when I wrote in my last message that I could not see how to connect multiple internal drives. I have already ordered a cable with connectors to fit…
Michael, Following your suggestion, I tried adding GVPScsiCtrl -s to my user-startup. It had no effect 🙁 It seems that failure to recognise the drive occurs before the startup-sequence gets executed. If I interrupt the boot process by holding down the right-hand mouse button, then selecting 'boot' from the screen…
John, I have followed your suggestion of setting the booting hard drive to ID 6. I have also included the line GVPScsiCtrl -s in my user-startup. Still no joy with the second hard disk being recognised on cold boot. If however I interrupt booting by holding down the right-hand mouse…
John, Ever since I bought the Fujitsu drive, I had problems with it not being recognised. I returned it to the dealer and he told me that it was fine. With the accelerator card removed, the Fujitsu drive on the SCSI/RAM card is still not recognised. The Quantum drive used…
#Hard Disk not recognised
Message #167751
I have a Quantum LP240S on a GVP G-Force accelerator card (board 0, ID 0) and a Fujitsu M2684S-512 on a GVP SCSI/RAM card (board 1, ID 2). Both disks have Last Disk and Last LUN checkmarked. The problem I'm having is that although the system boots up OK from…
Jack, I notice that you are using the old CreateProc library routine. Have you tried using the CreateNewProc routine? When I looked at the code you uploaded, I had the impression that perhaps DICE was at fault. Didn't you say that the code used to work? As far as the…
Jack, I disassembled the code for the child process and came up with the following snippet which may be of use: movea.l -32758(a4),a6 (struct WBStartup *msg) movea.l sm_ArgList(a6),a6 move.l (a6),-(a7) !! Enforcer hit: A6 = 0 bsr x14632 calls CurrentDir addq.l #4,a7 move.l -32758(a4),-(a7) (struct WBStartup *msg) bsr wbmain x10328…
Jack, I'm unable to locate my copy of the hardware reference manual at the moment. However, looking at your code, I wonder if the problem is the CMP.W instruction. Do you need it? Can it be left out? It seems that you are looking for either or both of bits…
Bart, Yes, I'd been wondering why I hadn't heard from you. Here's my alternative address (via the Internet), with no '3's in it: shraddhan@cix.compulink.co.uk > How come you get to go on holidays? It's a perk of the job, which I use as much as possible to help me maintain…
Bart, Having just returned from yet another holiday, I see that your question about filehook.c on 28 July remains unanswered. If you still need help, I suggest you send me the relevant code, and I will take a look at it for you. Regards, Shraddhan (via AP from Hertfordshire, England)
Bart, Have you looked in the include file DOSASL.I ? Regards, Shraddhan (via AP from Hertfordshire, England)
Ben, Thanks for the warning that the G-Lock doesn't work well with AGA Fortunately, I am using it on a non-AGA machine. I wonder however, if the G-Lock would be unhappy working with any hardware I might add to my machine later. Having bought a genlock a week ago and…
Luciano, When you test your code, are you supplying valid CLI arguments? Your code works fine when called as an assembly language routine. >How is the ReadArgs supposed to get the CLI command line … ? From what I've discovered from peeking at the ReadArgs code, the CLI text is…
Ron, I've decided to go for the GVP G-Lock, mostly because I was told it was highly recommended by me dealer's buyer, and available by the end of the week. Thanks for the information. Regards, Shraddhan (from Hertfordshire, England)
G-Lock
Message #82426
I am considering the purchase of the GVP G-Lock. The advert I've seen says that it has an intuition-based software control panel. Does this mean that the genlock is not usable with software that takes over the machine, thereby preventing it from multi-tasking? Regards, Shraddhan from the UK
Ron, Thanks for the information. I went out and bought a Rendale 8802 FMC genlock, but the quality of its output was not quite as high as I'd hoped, which is not surprising as it's at about the bottom of the price range. It gave some colour fringing, regardless of…
Frank, Thanks for suggesting Broadcast Titler II. However, it's rather more expensive than I had anticipated, and I have found a cheapo package at a third the price that _looks_ like it might be adequate. Something to remember for the future, perhaps… Regards, Shraddhan (from Hertfordshire, England)
#Low-cost video
Message #41153
I would like some advice on using the Amiga to create titles and/or subtitles for a video I'm making. I've never dabbled in this field, so please assume that I know nothing. What hardware and software would I need, or would you recommend? I'm looking for low cost here, as…
James, Thanks for the advice. Regards, Shraddhan (via AP from Hertfordshire, England)
#Low-end video work
Message #144745
I'd like some advice on using the Amiga for video work. I am making a video to advertise the work I do, and I would like to be able to use my Amiga 500 (or 2000) to generate captions / subtitles for this video. This will be a one-off job.…
Mike, I think that the assembly language instruction you are referring to that is incompatible between the 68000 and the 68020 and up is the MOVE SR instruction for reading the processor's condition codes. The programming guidelines state that the library call GetCC should be used instead. Also, the CLR…
> I guess I shouldn'tve overlooked the original source. I didn't know the RKM was the original source. I thought that the FFP format already existed and Commodore merely used it. Or am I mistaken? Regards, Shraddhan (via AP from Hertfordshire, England)
The ROM Kernel Manual – Libraries and Devices states the format of the Motorola FFP format. The current edition says that the format is 24 bits of mantissa in the range [0.5, 1) followed by 8 bits of excess-64 exponent. This cannot be correct. The previous edition (for WB 1.3)…
> How much was the non-EC 68030 and where did you get it from? I bought it from White Knight Technology, 0992 714539. Very helpful people who seem to know what they are talking about. The price depends on what speed clock you have. Regards, Shraddhan (via AP from Hertfordshire,…
Craig, I did the very same thing – changing an EC 68030 for a real 68030 in my accelerator a few days ago. I had absolutely no problems. (The dealer who sold me the chip encouraged me to try using a slightly faster chip, with a faster crystal, but I…
Chris, I've certainly seen some spectacular displays immediately after a crash. Almost always, these only last a few seconds, then the screen goes black. Then, usually a guru message pops up. Actually, I'm not using the AGA chipset, as I'm using an A2000. I did hear of some computer many…
Fred, You are referring to the jumper J4. There's no mention in the board's user guide, that I can find, to tell you what to do with this jumper. I suggest you ask GVP themselves in the AMIGAVENDOR forum. Regards, Shraddhan (via AP from Hertfordshire, England)
Page 1 of 8