Jump to content



2

OK, Here it is (DL & DLL Template)


11 replies to this topic

#1 PacManPlus OFFLINE  

PacManPlus

    River Patroller

  • 3,320 posts
  • Location:Naples, Florida

Posted Wed Jul 23, 2008 8:13 PM

Hello All:

I think I finally got this working. I tried to explain every thing (in comments) that a programmer might want to change, every table, every variable, etc. I think I have them all. We have the source program itself, and the two include files (one for Character Mode, and the other for Sprites). I put a little example of each in the program to start off.

The steps in order to customize this program are:
1) Make any necessary changes to the number of sprites, character mode (if there is one), Screen Write Mode, etc...
2) Use a graphic editor to edit the graphics for the character mode (charmode.dat), and sprite graphics (spritegr.dat).
3) Modify the tables toward the end of the source code for things like Palette (color), sprite width, character width, etc.

This will compile with dasm.

Please let me know what you think - I plan on using this as the basis for my next project. :)

Bob

Attached Files



#2 gambler172 OFFLINE  

gambler172

    River Patroller

  • 2,060 posts
  • none
  • Location:germany

Posted Thu Jul 24, 2008 12:37 PM

Hi Bob
This is great.Unfortunately i am not a programmer,but it should be possible for me to play around with it...
greetings Walter

#3 Underball OFFLINE  

Underball

    Stargunner

  • 1,474 posts

Posted Fri Jul 25, 2008 1:04 PM

Bob, this is fantastic. Now I can finally get my head around programming for the 7800.

Questions:

What do you use to edit the Character.dat and spritegr.dat?

I opened them in Notepad and get gobbledy gook. I opened them in a Hex editor, and I get nothing taht makes any visible sense. Is there some sort of tool that helps graphically with these?

also - audio editing - ? I dont' seen mush of anything explaining it.

#4 PacManPlus OFFLINE  

PacManPlus

    River Patroller

  • 3,320 posts
  • Location:Naples, Florida

Posted Sat Jul 26, 2008 1:12 PM

Hi:

Thanks!

You can't edit the graphics in notepad or any text editor - the 7800 uses 2bbp (2 bits per pixel) graphics for 160x2 mode (the 320x1 mode does use 1bpp). The examples I used there are indeed 160x2. You need a graphic / tile editor that will allow for these kinds of files. I currently use 'Tile Molester', but it has issues with small files, so I'm looking for something else.

I didn't go into Audio, because it's the same as the 2600 (unless you're using the Pokey Chip). I just figured that wasn't the part that needed this much explanation.

Bob

Edited by PacManPlus, Sat Jul 26, 2008 1:12 PM.


#5 yuppicide OFFLINE  

yuppicide

    I am the Black Knight. Give me your money!

  • 6,933 posts
  • Location:New Jersey

Posted Sat Jul 26, 2008 3:25 PM

So will there be a Batari Basic like thing coming for the 7800? :)

#6 PacManPlus OFFLINE  

PacManPlus

    River Patroller

  • 3,320 posts
  • Location:Naples, Florida

Posted Sat Jul 26, 2008 3:50 PM

... I wish :)

#7 PacMan OFFLINE  

PacMan

    Chopper Commander

  • 151 posts
  • Slowly getting there....
  • Location:A Galaxy far far away

Posted Sun Jul 27, 2008 4:20 AM

View PostPacManPlus, on Sat Jul 26, 2008 9:12 PM, said:

I currently use 'Tile Molester', but it has issues with small files, so I'm looking for something else.

Have you tried Tile Studio ? It's not perfect for 8-bit development but it works fairly well.

/P

#8 PacManPlus OFFLINE  

PacManPlus

    River Patroller

  • 3,320 posts
  • Location:Naples, Florida

Posted Sun Jul 27, 2008 6:50 AM

Actually, I did load that. I couldn't figure out how to get it to work with 2-BPP or 1-BPP sprites especially the way the 7800 handles them (1 one line on each page or ROM). :(

#9 kenfused OFFLINE  

kenfused

    Stargunner

  • 1,192 posts
  • Location:Columbus, Ohio

Posted Mon Jul 28, 2008 12:07 PM

View PostPacManPlus, on Sun Jul 27, 2008 7:50 AM, said:

Actually, I did load that. I couldn't figure out how to get it to work with 2-BPP or 1-BPP sprites especially the way the 7800 handles them (1 one line on each page or ROM). :(
I usually just use normal 8 bit computer font editors. I then usually use a separate program that does the byte swapping around as part of my compile process.

--Ken

#10 Allan OFFLINE  

Allan

    River Patroller

  • 4,245 posts
  • Location:Wallingford, CT

Posted Mon Jul 28, 2008 9:01 PM

View Postkenfused, on Mon Jul 28, 2008 2:07 PM, said:

View PostPacManPlus, on Sun Jul 27, 2008 7:50 AM, said:

Actually, I did load that. I couldn't figure out how to get it to work with 2-BPP or 1-BPP sprites especially the way the 7800 handles them (1 one line on each page or ROM). :(
I usually just use normal 8 bit computer font editors. I then usually use a separate program that does the byte swapping around as part of my compile process.

--Ken
Maybe somebody could mod one of the 8-bit computer font editors to do this for you.

Allan

#11 gambler172 OFFLINE  

gambler172

    River Patroller

  • 2,060 posts
  • none
  • Location:germany

Posted Tue Jul 29, 2008 10:25 AM

Hi Bob
The Tilemolester ist the best solution.It is easy to handle.
greetings Walter

#12 Gorf OFFLINE  

Gorf

    River Patroller

  • 4,633 posts

Posted Tue Jul 29, 2008 2:58 PM

I think it's time for me to make a Win app for usable old school sprite ed.
I'll play around with something this weekend, Lord willing.

:D




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users