Devpac from hard drive

All 680x0 related coding posts in this section please.

Moderators: exxos, simonsunnyboy, Mug UK, Zorro 2, Moderator Team

User avatar
YQN
Atari User
Atari User
Posts: 39
Joined: Sat Jul 22, 2017 6:01 pm
Contact:

Devpac from hard drive

Postby YQN » Wed Sep 13, 2017 7:21 am

Hi,

I tried to run Perihelion's code for loading Degas pictures but I can't do it from the HD, Devpac looks for the file on A:. How do I set it up to look for the file on C:? I tried adding C: in the bottom two lines in the environment window (don't know what they're for), but it didn't change anything. Or is it best to keep everything on floppy disk?

Thanks for any help!

User avatar
spiny
Disk Imager Supreme
Disk Imager Supreme
Posts: 2313
Joined: Mon Aug 11, 2003 11:53 pm
Location: just outside bristol
Contact:

Re: Devpac from hard drive

Postby spiny » Wed Sep 13, 2017 7:31 am

it's the incbin staement at the bottom of the code, edit that to point to where the pic is on your C: drive

something like this:

picture incbin c:\code\tut07\font2.pi1

User avatar
YQN
Atari User
Atari User
Posts: 39
Joined: Sat Jul 22, 2017 6:01 pm
Contact:

Re: Devpac from hard drive

Postby YQN » Wed Sep 13, 2017 7:53 am

spiny wrote:it's the incbin staement at the bottom of the code, edit that to point to where the pic is on your C: drive

something like this:

picture incbin c:\code\tut07\font2.pi1

Feel stupid for not trying that :oops: Thanks!

User avatar
spiny
Disk Imager Supreme
Disk Imager Supreme
Posts: 2313
Joined: Mon Aug 11, 2003 11:53 pm
Location: just outside bristol
Contact:

Re: Devpac from hard drive

Postby spiny » Wed Sep 13, 2017 8:03 am

don't worry, I'm still trying to get to grips with scrollers :)

User avatar
YQN
Atari User
Atari User
Posts: 39
Joined: Sat Jul 22, 2017 6:01 pm
Contact:

Re: Devpac from hard drive

Postby YQN » Wed Sep 13, 2017 9:56 am

Also, I'll post that if someone else searches the forum and gets to this post because that's where I should've actually searched: http://dev-docs.atariforge.org/

User avatar
YQN
Atari User
Atari User
Posts: 39
Joined: Sat Jul 22, 2017 6:01 pm
Contact:

Re: Devpac from hard drive

Postby YQN » Wed Sep 13, 2017 11:29 am

spiny wrote:don't worry, I'm still trying to get to grips with scrollers :)

That 7th tutorial is not the easiest! Did you try to run the first program, the one only getting the "C"? It gives me two bombs... :scratches head:


Social Media

     

Return to “680x0”

Who is online

Users browsing this forum: No registered users and 1 guest