Search found 87 matches

by wyerd
Mon Oct 23, 2017 2:28 pm
Forum: C / PASCAL etc.
Topic: GEMDEFS.H & OBDEFS.H
Replies: 2
Views: 1710

Re: GEMDEFS.H & OBDEFS.H

OK. Thank you.
by wyerd
Sun Oct 22, 2017 11:41 pm
Forum: C / PASCAL etc.
Topic: GEMDEFS.H & OBDEFS.H
Replies: 2
Views: 1710

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...
by wyerd
Fri Oct 06, 2017 2:16 pm
Forum: Website Discussions
Topic: PM stuck in outbox
Replies: 2
Views: 1680

Re: PM stuck in outbox

Ah. Ok. Thanks.
by wyerd
Fri Oct 06, 2017 1:57 pm
Forum: Website Discussions
Topic: PM stuck in outbox
Replies: 2
Views: 1680

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!
by wyerd
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: 1957

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!
by wyerd
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: 1957

Re: How do I find out the TOS language version installed?

Great, thanks. I’ll look into these.
by wyerd
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: 1957

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.
by wyerd
Sat Sep 30, 2017 7:05 pm
Forum: C / PASCAL etc.
Topic: What does this line of code do?
Replies: 12
Views: 2601

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.
by wyerd
Sat Sep 30, 2017 6:05 pm
Forum: C / PASCAL etc.
Topic: What does this line of code do?
Replies: 12
Views: 2601

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.
by wyerd
Sat Sep 30, 2017 4:39 pm
Forum: C / PASCAL etc.
Topic: What does this line of code do?
Replies: 12
Views: 2601

Re: What does this line of code do?

You’re correct. It’s missing the value for n.

Code: Select all

strncpy ( s, &string[4], 2  );


I’ll stick with it. I find debugging programs helps the learning process!!
by wyerd
Sat Sep 30, 2017 4:21 pm
Forum: C / PASCAL etc.
Topic: What does this line of code do?
Replies: 12
Views: 2601

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:- strncpy ( s, &string[4] ); h= atoi ( s ) - 80; h = h << 9; date = date | h; Let me see if I can figure it out myself :D
by wyerd
Sat Sep 30, 2017 3:41 pm
Forum: C / PASCAL etc.
Topic: What does this line of code do?
Replies: 12
Views: 2601

Re: What does this line of code do?

Ok, but at the end of the previous line :-

Code: Select all

year = ((date >> 9) & 0x007f) + 80;


If the the date returned for example is 19 (years from 1980) add the 80 = 99 already.
by wyerd
Sat Sep 30, 2017 3:24 pm
Forum: C / PASCAL etc.
Topic: What does this line of code do?
Replies: 12
Views: 2601

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...
by wyerd
Fri Sep 08, 2017 5:05 pm
Forum: Hardware
Topic: Benq BL702A monitor to STe - inital thoughts
Replies: 4
Views: 1095

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...
by wyerd
Fri Sep 08, 2017 12:57 am
Forum: Hardware
Topic: Benq BL702A monitor to STe - inital thoughts
Replies: 4
Views: 1095

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 ...
by wyerd
Mon Jul 24, 2017 2:13 am
Forum: Hardware
Topic: Exxos 110v PSU question
Replies: 5
Views: 1052

Re: Exxos 110v PSU question

What it should look like.

0A5C7DE0-B8F1-4A2A-B1CC-862B1D6A5727.JPG


63CFDF60-790D-4694-84A8-2B96A4F6AB0E.JPG
by wyerd
Mon Jul 24, 2017 1:59 am
Forum: Hardware
Topic: Exxos 110v PSU question
Replies: 5
Views: 1052

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.
by wyerd
Sun Jul 23, 2017 12:46 pm
Forum: Hardware
Topic: Exxos 110v PSU question
Replies: 5
Views: 1052

Re: Exxos 110v PSU question

Bama wrote:I would send him your questions via email.

Yea, but I can't find an email address on his website.I'll PM him.
by wyerd
Sat Jul 22, 2017 6:21 pm
Forum: Hardware
Topic: Exxos 110v PSU question
Replies: 5
Views: 1052

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...
by wyerd
Mon Jun 19, 2017 5:56 pm
Forum: Hardware
Topic: Refurbishing a STe Skynet PSU
Replies: 11
Views: 2467

Re: Refurbishing a STe Skynet PSU

mpattonm wrote:
wyerd wrote:As far as I can tell, the original are snap-in, but the replacement ones I chose are not. Does it matter?

No, it does not.

Ok. Thanks.
by wyerd
Sun Jun 18, 2017 6:51 pm
Forum: Hardware
Topic: Refurbishing a STe Skynet PSU
Replies: 11
Views: 2467

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...
by wyerd
Sun Jun 18, 2017 2:36 pm
Forum: Hardware
Topic: Refurbishing a STe Skynet PSU
Replies: 11
Views: 2467

Re: Refurbishing a STe Skynet PSU

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.


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.
by wyerd
Sun Jun 18, 2017 2:04 pm
Forum: Hardware
Topic: Refurbishing a STe Skynet PSU
Replies: 11
Views: 2467

Re: Refurbishing a STe Skynet PSU

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.

Thanks for the advice.
by wyerd
Sat Jun 17, 2017 7:06 pm
Forum: Hardware
Topic: Refurbishing a STe Skynet PSU
Replies: 11
Views: 2467

Re: Refurbishing a STe Skynet PSU

Anyone?
by wyerd
Sun Jun 11, 2017 10:24 pm
Forum: Hardware
Topic: Refurbishing a STe Skynet PSU
Replies: 11
Views: 2467

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...

Go to advanced search