Search found 87 matches
- Mon Oct 23, 2017 2:28 pm
- Forum: C / PASCAL etc.
- Topic: GEMDEFS.H & OBDEFS.H
- Replies: 2
- Views: 10627
Re: GEMDEFS.H & OBDEFS.H
OK. Thank you.
- Sun Oct 22, 2017 11:41 pm
- Forum: C / PASCAL etc.
- Topic: GEMDEFS.H & OBDEFS.H
- Replies: 2
- Views: 10627
GEMDEFS.H & OBDEFS.H
I've been compiling C code on my STe using Megamax Laser C, but was recently pointed to the m68K-atari-mint cross compiler and I'm trying to figure out how it all works. Running it in CYGWIN, I have successfully compiled Hello World and ran it in Hatari. Now, there are a lot of source files that inc...
- Fri Oct 06, 2017 2:16 pm
- Forum: Website Discussions
- Topic: PM stuck in outbox
- Replies: 2
- Views: 11859
Re: PM stuck in outbox
Ah. Ok. Thanks.
- Fri Oct 06, 2017 1:57 pm
- Forum: Website Discussions
- Topic: PM stuck in outbox
- Replies: 2
- Views: 11859
PM stuck in outbox
I sent a message to the Admin, but I haven’t received a response.
I’ve replied to a PM, but the message appears to be stuck in the Outbox. It doesn’t appear in sent items either. The same thing happens if I send a new PM, it’s stuck in the Outbox.
Help!
I’ve replied to a PM, but the message appears to be stuck in the Outbox. It doesn’t appear in sent items either. The same thing happens if I send a new PM, it’s stuck in the Outbox.
Help!
- Tue Oct 03, 2017 3:27 pm
- Forum: C / PASCAL etc.
- Topic: How do I find out the TOS language version installed?
- Replies: 5
- Views: 9675
Re: How do I find out the TOS language version installed?
Thanks for the info. I found a PDF for the Atari Compendium- it’s one helluva reference guide!
- Tue Oct 03, 2017 1:38 pm
- Forum: C / PASCAL etc.
- Topic: How do I find out the TOS language version installed?
- Replies: 5
- Views: 9675
Re: How do I find out the TOS language version installed?
Great, thanks. I’ll look into these.
- Tue Oct 03, 2017 1:24 pm
- Forum: C / PASCAL etc.
- Topic: How do I find out the TOS language version installed?
- Replies: 5
- Views: 9675
How do I find out the TOS language version installed?
Is there a way to interrogate what language TOS is in C? For example, if it’s US English, the date will be displayed as MM/DD/YY, if any european language it’ll be displayed DD/MM/YY.
- Sat Sep 30, 2017 7:05 pm
- Forum: C / PASCAL etc.
- Topic: What does this line of code do?
- Replies: 12
- Views: 11765
Re: What does this line of code do?
Yes, the sscanf function does look a much neater approach.
I’ve programmed in other languages before, but I want to develop an accessory for my STe and C appeared to tick the box.
Thanks for the suggestions. I’ll take a look at them.
I’ve programmed in other languages before, but I want to develop an accessory for my STe and C appeared to tick the box.
Thanks for the suggestions. I’ll take a look at them.
- Sat Sep 30, 2017 6:05 pm
- Forum: C / PASCAL etc.
- Topic: What does this line of code do?
- Replies: 12
- Views: 11765
Re: What does this line of code do?
What is the correct method of converting a string to an integer? Can you recommend any good C guides? Thanks.
- Sat Sep 30, 2017 4:39 pm
- Forum: C / PASCAL etc.
- Topic: What does this line of code do?
- Replies: 12
- Views: 11765
Re: What does this line of code do?
You’re correct. It’s missing the value for n.
I’ll stick with it. I find debugging programs helps the learning process!!
Code: Select all
strncpy ( s, &string[4], 2 );
- Sat Sep 30, 2017 4:21 pm
- Forum: C / PASCAL etc.
- Topic: What does this line of code do?
- Replies: 12
- Views: 11765
Re: What does this line of code do?
Thanks. Yes, I understand now. So, looking at the part of the code that sets the clock to the new date won’t work after the year 1999 as it’s subtracting 80:-
Let me see if I can figure it out myself 
Code: Select all
strncpy ( s, &string[4] );
h= atoi ( s ) - 80;
h = h << 9;
date = date | h;

- Sat Sep 30, 2017 3:41 pm
- Forum: C / PASCAL etc.
- Topic: What does this line of code do?
- Replies: 12
- Views: 11765
Re: What does this line of code do?
Ok, but at the end of the previous line :-
If the the date returned for example is 19 (years from 1980) add the 80 = 99 already.
Code: Select all
year = ((date >> 9) & 0x007f) + 80;
- Sat Sep 30, 2017 3:24 pm
- Forum: C / PASCAL etc.
- Topic: What does this line of code do?
- Replies: 12
- Views: 11765
What does this line of code do?
I’m reading the C programming guide C-Manship Complete and have come across a line that I don’t understand what it’s doing:- year = year % 100; This is part of the date and time example in chapter 23. I understand that it’s getting the date from the ST, converting the bits and adding 80 to get the y...
- Fri Sep 08, 2017 5:05 pm
- Forum: Hardware
- Topic: Benq BL702A monitor to STe - inital thoughts
- Replies: 4
- Views: 2558
Re: Benq BL702A monitor to STe - inital thoughts
faint jail bar? Uhmm.... I've two BL702A with my STe and MegaSTe and I don't see that problem. :shrug: https://www.youtube.com/watch?v=X36AMT85icU Nice setup! What are the pixel and phase clock settings you are using for each of the resolutions? Your adapter looks very neat. Is that the new one ava...
- Fri Sep 08, 2017 12:57 am
- Forum: Hardware
- Topic: Benq BL702A monitor to STe - inital thoughts
- Replies: 4
- Views: 2558
Benq BL702A monitor to STe - inital thoughts
I've just picked up the Benq BL702 monitor after hearing that it's able to go down to 15Hz and the best part was that Amazon UK shipped it over to me here in the US for just under a Fiver! :D :D :D :D I've hooked it up to the STe using the new version of Best Electronics multisync VGA cable. Output ...
- Mon Jul 24, 2017 2:13 am
- Forum: Hardware
- Topic: Exxos 110v PSU question
- Replies: 5
- Views: 2194
Re: Exxos 110v PSU question
What it should look like.
- Mon Jul 24, 2017 1:59 am
- Forum: Hardware
- Topic: Exxos 110v PSU question
- Replies: 5
- Views: 2194
Re: Exxos 110v PSU question
Exxos has confirmed that the live and neutral have been reversed in the above image. It still would work, but switching neutral isn't the correct way.
- Sun Jul 23, 2017 12:46 pm
- Forum: Hardware
- Topic: Exxos 110v PSU question
- Replies: 5
- Views: 2194
Re: Exxos 110v PSU question
Yea, but I can't find an email address on his website.I'll PM him.Bama wrote:I would send him your questions via email.
- Sat Jul 22, 2017 6:21 pm
- Forum: Hardware
- Topic: Exxos 110v PSU question
- Replies: 5
- Views: 2194
Exxos 110v PSU question
110vexxossw.jpg I purchased one of these PSU's from Exxos as I live in the US, but I'm worried by the 110v wiring instructions as shown in the above image from the Exxos website. In UK blue is Neutral, white in the US, so why is it going to the live socket pin? Brown is live (black in US) so why is...
- Mon Jun 19, 2017 5:56 pm
- Forum: Hardware
- Topic: Refurbishing a STe Skynet PSU
- Replies: 11
- Views: 3920
Re: Refurbishing a STe Skynet PSU
Ok. Thanks.mpattonm wrote:No, it does not.wyerd wrote: As far as I can tell, the original are snap-in, but the replacement ones I chose are not. Does it matter?
- Sun Jun 18, 2017 6:51 pm
- Forum: Hardware
- Topic: Refurbishing a STe Skynet PSU
- Replies: 11
- Views: 3920
Re: Refurbishing a STe Skynet PSU
Had a quick look and it looks OK. You may want to make sure you get the right lead spacing (not critical but helps) and check if the HV capacitors on the PSU are of the snap-in type. As far as I can tell, the original are snap-in, but the replacement ones I chose are not. Does it matter? Just makes...
- Sun Jun 18, 2017 2:36 pm
- Forum: Hardware
- Topic: Refurbishing a STe Skynet PSU
- Replies: 11
- Views: 3920
Re: Refurbishing a STe Skynet PSU
EPCOS are out of stock with my normal supplier unfortunately, but I do have Panasonic ones on my parts list which I've attached. Do they look OK to you? Thanks.dhedberg wrote:I can recommend the Panasonic FR series of capacitors for the LV side of the transformer and the EPCOS B43504 series for the HV side.
- Sun Jun 18, 2017 2:04 pm
- Forum: Hardware
- Topic: Refurbishing a STe Skynet PSU
- Replies: 11
- Views: 3920
Re: Refurbishing a STe Skynet PSU
Thanks for the advice.mpattonm wrote:Safe bet is to get new ones of same capacity and if possible (due to dimension concerns) of higher voltage. Pick 105C line.
- Sat Jun 17, 2017 7:06 pm
- Forum: Hardware
- Topic: Refurbishing a STe Skynet PSU
- Replies: 11
- Views: 3920
- Sun Jun 11, 2017 10:24 pm
- Forum: Hardware
- Topic: Refurbishing a STe Skynet PSU
- Replies: 11
- Views: 3920
Refurbishing a STe Skynet PSU
Since moving to the USA a few years ago, I've been thinking about replacing the euro 220v psu in my STe with a 110v psu and recently I came across half a STe (just the case, mainboard & psu) on eBay which I eventually bought. When it arrived I was surprised to find that the psu is 110v 220v dual vol...