Search found 266 matches

by Smonson
Mon Mar 04, 2019 7:17 am
Forum: ATARI FOR SALE & WANTED
Topic: Free PCBs
Replies: 41
Views: 4196

Re: Free PCBs

Hi Sety, I'm interested, but in the UK. What are we looking at for postage to here, or is the $10 AUS an overall figure? AUD $21.20 for economy, $28.20 for tracked. :( Unless you can somehow convince them it's a letter. EDIT: You probably could convince them it's a letter! For $7, Max weight is 125...
by Smonson
Mon Mar 04, 2019 3:18 am
Forum: HARDWARE DISCUSSIONS
Topic: I need somebody to upgrade my ST (memory, Tos and IDE)
Replies: 6
Views: 588

Re: I need somebody to upgrade my ST (memory, Tos and IDE)

You probably need to start with whereabouts you're located in the world.
by Smonson
Mon Mar 04, 2019 1:49 am
Forum: SOFTWARE PROGRAMMING & DISCUSSION
Topic: ASM programmer to write a simple IDE test loop program ?
Replies: 15
Views: 1381

Re: ASM programmer to write a simple IDE test loop program ?

Ummm, no, sorry. I can try changing the buffer size back to 507 bytes for you when I get home from work tonight, though. Maybe that's more likely to precipitate the failure.
by Smonson
Sat Mar 02, 2019 7:33 am
Forum: SOFTWARE PROGRAMMING & DISCUSSION
Topic: ASM programmer to write a simple IDE test loop program ?
Replies: 15
Views: 1381

Re: ASM programmer to write a simple IDE test loop program ?

Actually in my updated version I changed the sectors from 507 bytes to 512, so I should actually compare it an array of 32-bit words instead if maximum speed is the goal.
by Smonson
Sat Mar 02, 2019 7:31 am
Forum: SOFTWARE PROGRAMMING & DISCUSSION
Topic: ASM programmer to write a simple IDE test loop program ?
Replies: 15
Views: 1381

Re: ASM programmer to write a simple IDE test loop program ?

this should speed up the test as memcmp is most probably faster than going through the array (it's probably written in ASM). Which libc are you thinking of? I wouldn't mind taking a look at their implementation. GCC 8.2 created this convoluted memcmp from what I thought was a pretty straightforward...
by Smonson
Sat Mar 02, 2019 2:01 am
Forum: SOFTWARE PROGRAMMING & DISCUSSION
Topic: ASM programmer to write a simple IDE test loop program ?
Replies: 15
Views: 1381

Re: ASM programmer to write a simple IDE test loop program ?

Try downloading it again, I've hopefully fixed the issues. Here's my code. extern "C" { #include <gemdos.h> #include <libc.h> } #define BUFFER_SIZE 512 #define BUFFER_REPEATS 100000 uint8_t buffer[BUFFER_SIZE]; uint8_t read_buffer[BUFFER_SIZE]; void check_error(int condition, const char *message) { ...
by Smonson
Sat Mar 02, 2019 1:44 am
Forum: SOFTWARE PROGRAMMING & DISCUSSION
Topic: ASM programmer to write a simple IDE test loop program ?
Replies: 15
Views: 1381

Re: ASM programmer to write a simple IDE test loop program ?

Oh crap! Something's seriously wrong with my error message these. To be honest with you I didn't actually test the failure part, since it was getting quite late.
by Smonson
Fri Mar 01, 2019 11:19 am
Forum: SOFTWARE PROGRAMMING & DISCUSSION
Topic: ASM programmer to write a simple IDE test loop program ?
Replies: 15
Views: 1381

Re: ASM programmer to write a simple IDE test loop program ?

I ported it to C. Apparently the reads and writes take about the same amount of time, but the comparison takes aaaaaaaaaages. I sped it up slightly by using 0-255 as the filler data instead of a string. So I can just check each byte against the byte count, which is quicker than comparing two memory ...
by Smonson
Fri Mar 01, 2019 7:53 am
Forum: HARDWARE DISCUSSIONS
Topic: Project: HDMI/DVI out for STFM
Replies: 507
Views: 54032

Re: Project: HDMI/DVI out for STFM

...I haven't actually tested the video modes yet (doing that next), but I put new ROMs up anyway. They're in the usual place. The new versions are v4.1 for V4 boards and V5.1 for V5 boards. Be sure to use the right one, or it won't boot ;)