Search found 1020 matches

by TheNameOfTheGame
Mon Oct 16, 2017 8:26 pm
Forum: Games
Topic: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE
Replies: 264
Views: 32715

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Ok, I turned off everything and just booted with HDDriver and now it is running. But the castle scene at the beginning is cut in half. But the forest scene is good. The game demo mode is working with some graphical errors, but what is there is truly amazing! Can't believe it's running on a STE! 4mb ...
by TheNameOfTheGame
Mon Oct 16, 2017 7:13 pm
Forum: Games
Topic: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE
Replies: 264
Views: 32715

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

I tried the demo and it loaded the files, but then stuck on a white screen with no text.
by TheNameOfTheGame
Sun Oct 15, 2017 3:45 pm
Forum: Hardware
Topic: STFM to DVI/HDMI project
Replies: 23
Views: 605

Re: STFM to DVI/HDMI project

This project is very welcome indeed!
by TheNameOfTheGame
Sun Oct 15, 2017 12:26 pm
Forum: C / PASCAL etc.
Topic: Converting 4 chars to a unsigned long?
Replies: 9
Views: 234

Re: Converting 4 chars to a unsigned long?

As to why this didn't work: ph_tlen = (read_buf[0] << 24) | (read_buf[1] << 16) | (read_buf[2] << 8) | read_buf[3]; This is one of the trickier parts of C you need to get used to. What you got fooled by is called integral promotion . In C, all arithmetic operations on types smaller than int are enf...
by TheNameOfTheGame
Sun Oct 15, 2017 2:57 am
Forum: C / PASCAL etc.
Topic: Converting 4 chars to a unsigned long?
Replies: 9
Views: 234

Re: Converting 4 chars to a unsigned long?

No need to do that as complex as that. What about: unsigned long ph_tlen; Fread( file_handle, sizeof(ph_tlen), &ph_tlen ); Wow, thanks. :cheers: I had no idea that would work. I love C, there are so many ways to do the same thing. Of course I'm trying to find the most efficient. Much appreciated!
by TheNameOfTheGame
Sun Oct 15, 2017 1:25 am
Forum: C / PASCAL etc.
Topic: Converting 4 chars to a unsigned long?
Replies: 9
Views: 234

Re: Converting 4 chars to a unsigned long?

Eh, figured it out after all. :lol: Had to change: ph_tlen = (read_buf[0] << 24) | (read_buf[1] << 16) | (read_buf[2] << 8) | read_buf[3]; To: ph_tlen = ((unsigned long) read_buf[0] << 24) | ((unsigned long ) read_buf[1] << 16) | ((unsigned long ) read_buf[2] << 8) | ((unsigned long) read_buf[3]; I ...
by TheNameOfTheGame
Sun Oct 15, 2017 12:43 am
Forum: C / PASCAL etc.
Topic: Converting 4 chars to a unsigned long?
Replies: 9
Views: 234

Converting 4 chars to a unsigned long?

I am trying to read the program header and get the length for the code section. I can open the file and read the 4 bytes in ok, but when I try to calculate ph_tlen I get a wild number. Can someone point out my error? unsigned long ph_tlen; unsigned char read_buf[4]; Fread( file_handle, 4, read_buf )...
by TheNameOfTheGame
Fri Oct 13, 2017 8:12 pm
Forum: C / PASCAL etc.
Topic: Question about using File Selector
Replies: 7
Views: 175

Re: Question about using File Selector

Last thing is to set the new drive spec if valid. Set up a variable for the bit mask of available drives: long drives; Get the bit mask of available drives: drives = Dsetdrv(Dgetdrv()); Check after file selector returns if drive specification is valid: if(((drives) >> (path[0] - 65)) & 1) Dsetdr...
by TheNameOfTheGame
Fri Oct 13, 2017 7:26 pm
Forum: C / PASCAL etc.
Topic: Question about using File Selector
Replies: 7
Views: 175

Re: Question about using File Selector

Went with jfl's code so I could check the return value of strrchar in case the directory path has no '\' in it and avoid a bus error. s = strrchr( path, '\\' ); if( s != NULL ) { *s = '\0'; if( strchr(path, '\\') == NULL ) { path[2] = '\\'; path[3] = '\0'; Dsetpath( &path[2] ); strcat( path, nam...
by TheNameOfTheGame
Fri Oct 13, 2017 6:35 pm
Forum: C / PASCAL etc.
Topic: Question about using File Selector
Replies: 7
Views: 175

Re: Question about using File Selector

It's inefficient to use strcpy here, since all that you want to do is... *(strrchr(path,'\\')) = 0; Yes, thank you that works well. But not for the case of root drive, since Dsetpath won't work then. So I had to add a check with strchr in to the code: *(strrchr(path,'\\')) = 0; if( strchr(path, '\\...
by TheNameOfTheGame
Fri Oct 13, 2017 5:51 pm
Forum: C / PASCAL etc.
Topic: Question about using File Selector
Replies: 7
Views: 175

Re: Question about using File Selector

Think I got it...this seems to work:

Code: Select all

                              s = strrchr( path, '\\' );
                              strcpy( s, "\0");


where s is a char *
by TheNameOfTheGame
Fri Oct 13, 2017 5:10 pm
Forum: C / PASCAL etc.
Topic: Question about using File Selector
Replies: 7
Views: 175

Question about using File Selector

I'm trying to get the return path from the file selector and add the filename to it so I can open the file. I set up the path before calling the file selector, but when I return the path still has the wilcards at the end which I need to strip to replace with the filename. Can someone give me an exam...
by TheNameOfTheGame
Thu Oct 12, 2017 1:31 pm
Forum: Hardware
Topic: 4MB Upgrade & 16MHz Booster progress
Replies: 714
Views: 82896

Re: 4MB Upgrade & 16MHz Booster progress

Nice work and writeup!
by TheNameOfTheGame
Thu Oct 12, 2017 12:42 pm
Forum: Galleries
Topic: Draw and convert
Replies: 3
Views: 441

Re: Draw and convert

Nice!!
by TheNameOfTheGame
Thu Oct 12, 2017 12:40 pm
Forum: Games
Topic: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE
Replies: 264
Views: 32715

Re: Daimakaimura (Ghouls 'n Ghosts) for the Atari STE

Amazing! I can't believe it is at 8Mhz! 8O
by TheNameOfTheGame
Wed Oct 11, 2017 9:30 pm
Forum: Applications
Topic: Scanning Software Request
Replies: 12
Views: 1315

Re: Scanning Software Request

Here's a couple of versions - 1.2 and 1.26. Serial numbers are in the .NFO file.

Novascan.zip
by TheNameOfTheGame
Tue Oct 10, 2017 9:45 pm
Forum: Applications
Topic: A couple abandonware apps
Replies: 252
Views: 9402

Re: A couple abandonware apps

Mug UK wrote:The links for iFusion are both pointing to the source code download?


Yes, that is confusing. The binaries are in the Iconnect and Draconis folders. I changed to one link only with description. Thanks! :cheers:
by TheNameOfTheGame
Tue Oct 10, 2017 7:18 pm
Forum: Applications
Topic: A couple abandonware apps
Replies: 252
Views: 9402

Re: A couple abandonware apps

penguin wrote:I'm still looking for SM-Text 520 (first word processor), MasterText, Sleepy Joe, LDW Basic Compiler and Softworks Basic.


Here is LDW Basic Compiler 2.0. :cheers:

https://www.dropbox.com/s/nl7xbg35ndd2byd/LDWBSIC2.zip?dl=1
by TheNameOfTheGame
Tue Oct 10, 2017 2:48 pm
Forum: C / PASCAL etc.
Topic: Help opening a window in Pure C
Replies: 8
Views: 442

Re: Help opening a window in Pure C

Ah, thanks. I looked at vst_alignment and see what you are saying.

That makes much more sense now. :D
by TheNameOfTheGame
Tue Oct 10, 2017 3:27 am
Forum: Chat forum [ENG]
Topic: Peter West
Replies: 8
Views: 538

Peter West

I have received bad news about Peter West from my UK friend. Sadly he is facing very serious health issues. :( Peter West has done many English translations of our Atari software with his work at DDP. Please keep Peter in your prayers and good thoughts. We will always be appreciative for his work fo...
by TheNameOfTheGame
Tue Oct 10, 2017 2:41 am
Forum: Applications
Topic: A couple abandonware apps
Replies: 252
Views: 9402

Re: A couple abandonware apps

And I found a real gem - from french author Guillaume Tello a wonderful piece of software named ProgDesk. it's actually a very elegant way to make your own desktop via text file. Example DSK file and very good manual is inside archive. Status was shareware, but, if i understand well this version is...
by TheNameOfTheGame
Tue Oct 10, 2017 12:09 am
Forum: C / PASCAL etc.
Topic: Help opening a window in Pure C
Replies: 8
Views: 442

Re: Help opening a window in Pure C

After a couple days getting back into GEM, I have a functional window which can be moved around, resized, use the sliders, etc. I was working with Peter Lane's AHCC guide, but I am using PureC so it required some changes. Also I made it simpler than Peter's. All the code is in one file. I attached t...
by TheNameOfTheGame
Sun Oct 08, 2017 12:29 am
Forum: C / PASCAL etc.
Topic: Help wth APPL_WRITE to send WM_REDRAW message
Replies: 14
Views: 304

Re: Help wth APPL_WRITE to send WM_REDRAW message

nvm, found arrfix15.zip. :cheers:
by TheNameOfTheGame
Sun Oct 08, 2017 12:24 am
Forum: C / PASCAL etc.
Topic: Help wth APPL_WRITE to send WM_REDRAW message
Replies: 14
Views: 304

Re: Help wth APPL_WRITE to send WM_REDRAW message

charles wrote:can u isolate the arrow click and see if it triggers a redraw from the tos?


I did but it doesn't trigger a redraw like some of the other events. I think because depending on where the slider is it may not need a redraw so it is left to the program to decide. At least that's what I'm thinking.

Go to advanced search