Who's Online |
46 user(s) are online ( 33 user(s) are browsing Forums)
Members: 2
Guests: 44
amije, samo79,
more...
|
|
|
|
Re: Locale.library format string
|
Posted on: 2009/11/8 9:29
#181
|
Not too shy to talk
|
@abalaban
See autodocs of locale.library/FormatDate:
%H - hour using 24-hour style with leading 0s
The second h is just a h. %Hh will give you 22h at 10 pm.
Bye, Thomas
|
|
|
|
Re: Resize an array in C
|
Posted on: 2009/9/16 14:04
#183
|
Not too shy to talk
|
@freddix Quote: freddix wrote: Imagine I have an array defined with this :
char WindowTitle[] = "MyArray";
and I want during execution for example, to change it by a new string
char NewTitle[] = "TitleEnteredByUser";
and I want to put NewTitle[] -> WindowTitle[]
In order to keep it as simple as possible I would do something like this: char WindowTitle[256] = "MyTitle"; . . . strcpy (WindowTitle,"TitleEnteredByUser"); Just make sure that the user cannot enter more than 255 characters. Bye, Thomas
|
|
|
|
Re: GCC Compilation warnings I cannot fix
|
Posted on: 2009/9/16 12:57
#184
|
Not too shy to talk
|
@freddix Quote: *NewObjectListPTR is a pointer to a list of pointers. That's not what you told the compiler. If you declare a variable like this: type *var; then "var" is a pointer to "type". And if you later reference "*var" then this means you are referencing the "type" which "var" points to. If "type" is int, then you reference an int. Bye, Thomas
|
|
|
|
Re: GCC Compilation warnings I cannot fix
|
Posted on: 2009/9/15 19:29
#185
|
Not too shy to talk
|
@freddix Quote: int *ObjectPTR2; int *NewObjectListPTR; *NewObjectListPTR = ObjectPTR2; // LINE 212 IS HERE //
This really should be obvious. NewObjectListPTR is a pointer to an int, so *NewObjectListPTR is an int. You assign ObjectPTR2, which is a pointer, to that int. I am not sure what this line actually shall do. If the code works correctly, you could do something like *NewObjectListPTR = (int)ObjectPTR2; but that would only prove that you don't know yourself what the code is doing. Better declare all variables so that it works without a cast. Bye, Thomas
|
|
|
|
Re: CyberStorm PPC Message
|
Posted on: 2009/8/7 7:20
#186
|
Not too shy to talk
|
@CountRaven
You also have to add the name and path of the file to the Kicklayout.
You can do anything into the Kickstart directory but only what is mentioned in the Kicklayout is loaded. Everything else is just ignored.
Bye, Thomas
|
|
|
|
Re: CyberStorm PPC Message
|
Posted on: 2009/8/6 15:15
#187
|
Not too shy to talk
|
@Framiga Quote: The best way is to give AOS4 the higher priority (no need to enter twice in the early boot menu)
Nonsense. Both MorphOS and AOS4 allow to set the boot device by parameter or Kickstart entry. So the best way is to give the OS 3.9 partition the highest boot priority, set boot drive parameter in MorphOS and add boot drive text file to OS4's Kickstart layout. Then you need to enter the boot menu only once, no matter which OS you choose.
|
|
|
|
Re: An expanded mkfile executable
|
Posted on: 2009/7/19 22:26
#188
|
Not too shy to talk
|
@Slayer Quote: mkfile "GBCPC V8 Full.rar" 3 gb 466 mb 840749 kb This is not possible. You could theoretically remove the SIZE parameter and turn all /S in to /K/N, but then you could no longer write 3 GB but had to write GB 3 or GB=3. Another possibility is to keep the /S and turn size into /N/M. But then you could no longer tell which number belongs to which unit. For example you could write 1 MB 2 KB 3 GB but the program would make 1 GB, 2 MB and 3 KB of it. Even now you can already use 1 KB MB GB and the program would use 1 GB because it checks for GB first and ignores the other switches if it finds GB. In addtion your calculation is wrong. 3 GB are 3072 MB and not 3000 MB, so 3 GB + 466 MB is not 3466 MB but 3538 MB. Bye, Thomas
|
|
|
|
Re: Reinstall OS4?
|
Posted on: 2009/7/17 17:02
#189
|
Not too shy to talk
|
@magic
"I don't think you need to install again. The 68k is deactivated by OS4 anyway. "
Better ?
|
|
|
|
Re: Reinstall OS4?
|
Posted on: 2009/7/17 14:32
#190
|
Not too shy to talk
|
@badgerme
I don't think you need to reinstall. The 68k is deactivated by OS4 anyway.
|
|
|
|
Re: ChunkyPPC.Library version 31
|
Posted on: 2009/7/15 18:42
#191
|
Not too shy to talk
|
@nubechecorre
You can download Freespace demo from Hyperion's web site. It contains V31 of chunkyppc.library.
|
|
|
|
Re: Strange IDE problem
|
Posted on: 2009/7/8 18:35
#192
|
Not too shy to talk
|
@CountRaven
The message means that a previous write process was interrupted and that now an automatic validation process is running in the background.
The worst thing you can do is to shut down or reset the computer while it is validating. You should just wait until it is finished (click on Retry regularly).
Fortunately in your case the validation process was already finished and after the reset all worked normally.
Bye, Thomas
|
|
|
|
Re: mouse wheels and input.device
|
Posted on: 2009/6/13 7:22
#193
|
Not too shy to talk
|
@whose
Wheel speed is stored in ie_X and ie_Y.
Bye, Thomas
|
|
|
|
Re: Hard installation problems with SFS errors on reset
|
Posted on: 2009/6/2 14:04
#194
|
Not too shy to talk
|
Sounds like a transmission error between the HDD and the controller. Try to reduce the DMA speed in UBoot and make sure you use an 80-line UDMA cable.
|
|
|
|
Re: rawkey/vanillakey
|
Posted on: 2009/5/21 21:05
#195
|
Not too shy to talk
|
@orgin
You should not examine the code without knowing which message you got. You will get a raw code for a RAWKEY message and an ASCII code for a VANILLAKEY message.
If you request both, Intuition will send a VANILLAKEY message for all keys for which one ASCII characer exists (i.e. letters, numbers, Esc, Return etc.) and a RAWKEY message for all other keys (i.e. cursor keys, function keys, qualifiers etc.)
Bye, Thomas
|
|
|
|
Re: Transfering from 680x0 to PPC
|
Posted on: 2009/5/16 8:51
#197
|
Not too shy to talk
|
@Alkaron
It should work out of the box. Uninitialized is not good. Check with the old hardware if it's still recognized. Perhaps you damaged it during the transport.
How (and where) did you connect it to the PEG ? How (and where) was it connected to the Amiga ?
Bye, Thomas
|
|
|
|
Re: Listbrowser background color
|
Posted on: 2009/5/14 18:08
#198
|
Not too shy to talk
|
@orgin Quote: orgin wrote: @salass00
Thanks, unfortunately the listbrowser remains dull gray. (GA_BackFill, myhook)
Perhaps try REACTION_BackFill instead ? Bye, Thomas
|
|
|
|
Re: SAMBA on the SAM
|
Posted on: 2009/4/29 16:11
#199
|
Not too shy to talk
|
@tommo1975 The netbios-ns message comes because nmbd is not running. Windows seems to flood a malfunctioning computer with requests. Nmbd usually fails to run if it cannot write its log file. Use SWAT in extended view mode to check if all configured paths do actually exist (extended view also shows default values which are not written to smb.conf). Also check the log files for interesting messages. Usually the log files contain useful hints. And don't blindly believe an idiot's guide if you aren't an idiot. Bye, Thomas
|
|
|
|
Re: Compactflash to IDE adapter
|
Posted on: 2009/4/29 8:32
#200
|
Not too shy to talk
|
@Fernecho
No special software is needed. The CF card is handled like a hard drive. Just use HDToolbox to install it.
If HDToolbox does not see it, then the CF card you use is not compatible.
Bye, Thomas
|
|
|
|