Project: Textmode to Graphicsmode emulator .... POSSIBLE?

Discuss how totally awesome Bang! is here.

Moderator: Terryn

Post Reply
User avatar
Smilymzx
I hope she made lotsa spaghetti!
Posts: 182
Joined: Sat May 20, 2006 2:58 am
Location: LocacoLocacoL :LoL!

Project: Textmode to Graphicsmode emulator .... POSSIBLE?

Post by Smilymzx »

I am quite expireinced at hacking ZZT now, But there could be a new must-have: extensively hacking ZZT via DOS TSR program (very much like the dead and now-disappeared EZZT). I always used and loved HEXIT as a ZZT hacking program.

Hexit is in google if you type Hexit by M K Lasson

This might happen: A possible Multi-colored font in ZZT(80x25 graphics mode) and SuperZZT(40x25 graphics mode). But there is a couple of problems:

How can I change ZZT into Graphics mode (Possible for me, I will look it up later)

If so, How can I:

*Run ZZT in Qbasic (or make a few PEEKs and POKEs to ZZT using a TSR created with Qbasic while finding addresses using Hexit)

*Make/find a Multi-colored font (Routine and editor, ASM or Qbasic)

That should be it, I think this project will improve ZZT a lot, I am going to create both VGA and EGA versions (for Normal and Retro computers) and make a extended palette editor if I can.

Thanks goes to DOSBOX and Console2 (from Sourceforge) for inspiring me for this upcoming ZZT project (OF THE FUTURE!)

Ideas and more VGA/EGA/ASM/QBASIC45 info/routines/editors (Besides other programming languages) would be acceptible.
Last edited by Smilymzx on Wed May 28, 2008 6:11 am, edited 1 time in total.
User avatar
zamros
my power level is enormous
Posts: 543
Joined: Thu Mar 20, 2003 9:34 pm

Post by zamros »

do it
User avatar
Smilymzx
I hope she made lotsa spaghetti!
Posts: 182
Joined: Sat May 20, 2006 2:58 am
Location: LocacoLocacoL :LoL!

Post by Smilymzx »

zamros wrote:do it
Oops, I forgot that I am going to Oregon without computer for 4-5 days, So I will be back.

(BTW: This is not a joke, I will be working on it, Really!)
User avatar
Commodore
fgsdfs
Posts: 2471
Joined: Wed Mar 12, 2003 5:44 pm
Location: :noitacoL
Contact:

Post by Commodore »

you should see if you can get szzt to run in 80 column mode,
*POW* *CLANK* *PING*
User avatar
Smilymzx
I hope she made lotsa spaghetti!
Posts: 182
Joined: Sat May 20, 2006 2:58 am
Location: LocacoLocacoL :LoL!

Post by Smilymzx »

Commodore wrote:you should see if you can get szzt to run in 80 column mode,
'

Not unless anyone disassembles ZZT and SZZT in a reassembleable format (NASM, ect.)

Otherwise, It does not look right!
User avatar
nps
so kawaii! so cute!
Posts: 810
Joined: Sun Jan 18, 2004 1:51 pm

Post by nps »

atrocity did it, ask him
User avatar
Smilymzx
I hope she made lotsa spaghetti!
Posts: 182
Joined: Sat May 20, 2006 2:58 am
Location: LocacoLocacoL :LoL!

Post by Smilymzx »

Dean Kerr aka nps wrote:atrocity did it, ask him
Is this a Joke? If not, I will tell him.

Tell me here if it is a Joke!

EDIT: Kev might have a disassembly:

http://kvance.livejournal.com/2002/01/24/

I might email him to see if he can distribute it (or lend it to me privately)

Either that, or someone else can ask him by email and say it is by popular demand!
User avatar
Commodore
fgsdfs
Posts: 2471
Joined: Wed Mar 12, 2003 5:44 pm
Location: :noitacoL
Contact:

Post by Commodore »

i don't think anyone has successfully disassembled zzt into anything resembling readable.
*POW* *CLANK* *PING*
User avatar
Dr. Dos
OH YES! USE VINE WHIP! <3
Posts: 1772
Joined: Tue Mar 11, 2003 12:00 am
Location: Washington

Post by Dr. Dos »

one time I tried digging around ZZT and trying to find the :restart it puts on top of everything and changing it to :r #bind x so you could #put an object and the only code it would have is to bind x and then you'd have an object named X and be able to #put an object with code.
Visit the Museum of ZZT
Follow Worlds of ZZT on Twitter

Apologies for the old post you may have just read.
User avatar
Commodore
fgsdfs
Posts: 2471
Joined: Wed Mar 12, 2003 5:44 pm
Location: :noitacoL
Contact:

Post by Commodore »

a noble idea. I tried to hexedit wolf3d once and was woefully overwhelmed.
*POW* *CLANK* *PING*
User avatar
Quantum P.
Level 17 Accordion Thief
Posts: 1433
Joined: Fri Sep 12, 2003 1:41 am
Location: Edmonds, WA
Contact:

Post by Quantum P. »

Dos, that would be awesome.


As for SuperZZT in 80-column mode, here's my thoughts:

Changing the screen mode: Just changing to an 80-column text mode is easy enough, but it's going to screw up the graphics. As an analogy, think of what happens when you resize a word-wrapped document. If there's any ASCII art in that document that depends on the word wrapping, it's not going to look pretty.

The good news is that there should be one or more 40s in SuperZZT which can be changed to 80s to solve the problem. To modify a character on the screen, you need to figure out where that character is in video memory, and that usually involves a multiplication by the screen width. It'll be harder if the compiler reduced the multiplication to a series of bit shifts, but even that shouldn't be too hard to fix.

Using all 80 columns: Seeing as SuperZZT already supports boards larger than the screen, this should be just changing the bounds on whatever loop redraws the playing area, as well as the code which controls scrolling the board. The main issue here is that due to the increased width of the playing area, SuperZZT may try to draw portions of the board that are off the edge of the board.

Cosmetic issues: The loops which initially color the screen blue and draw the border around the playing area also need to be changed. Also, ideally the board would be scrolled such that the player started out in the center of the screen.
Post Reply