dMZX Forums: asiekierka's forking (mzx) - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

asiekierka's forking (mzx) again

#1 User is offline   asiekierka 

  • ??
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,267
  • Joined: 06-April 06
  • Gender:Male
  • Location:Poland

Posted 21 November 2009 - 10:34 AM

hello!

I am now forking MegaZeux to add features, like new SMZX modes and new counters.

So far, i have:
- mzx_bpp, a new counter to check the BPP MegaZeux is running at
- SMZX mode 4, an 8x7 SMZX mode 3
- SMZX mode 5, a 4x14 1024-colour SMZX mode 3.

More on SMZX mode 5:

Quote

The base is calculated as (color number*4).
The next 3 colors are then base+1, base+2, base+3.
So, for example, selecting colors give you:
- color 0: 0, 1, 2, 3
- color 1: 4, 5, 6, 7
- color 2: 8, 9, 10, 11
- color 3: 12, 13, 14, 15
etc...
The mzx_bpp counter is for the 8-bpp mode, because in it, it only supports the first 256 colors. Extra colors are wrapped around.


Enjoy!

v1:
Win32 binary
Source code (i hope it works)

This post has been edited by asiekierka: 21 November 2009 - 10:34 AM

Huh.
0

#2 User is offline   asiekierka 

  • ??
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,267
  • Joined: 06-April 06
  • Gender:Male
  • Location:Poland

Posted 21 November 2009 - 11:39 AM

As I can't edit anymore, and I found out SMZX mode 5 is quite bugged, it's broken. :confused: I'm fixing it right now.
Huh.
0

#3 User is offline   Pyro1588 

  • wojtek
  • PipPip
  • Group: Members
  • Posts: 145
  • Joined: 20-October 02
  • Gender:Male
  • Location:Minnesota

Posted 21 November 2009 - 12:08 PM

"The application has failed to start because zlib1.dll was not found. Re-installing the application may fix this problem."
<Tox> bah. I may as well give in and shop australia. D:
<pyro1588> "welcome to australia, can i help you find what you're looking for?"
<Tox> pyro1588, I'm giving you the most reproachful of glares right now.
--------
Go show those nutty Koreans what us crazy Europeans are made of pirate.gif pirate.gif pirate.gif - Saike
<exophase> The old Commodore strategy of, "Go friggin' bankrupt!"
<wervyn> Go away! I'm writing the same engine I always do!
0

#4 User is offline   asiekierka 

  • ??
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,267
  • Joined: 06-April 06
  • Gender:Male
  • Location:Poland

Posted 21 November 2009 - 12:30 PM

View PostPyro1588, on Nov 21 2009, 01:08 PM, said:

"The application has failed to start because zlib1.dll was not found. Re-installing the application may fix this problem."

Thank you, fixed now. If I forgot to add in any more libraries, please tell me as I do that sometimes...
Also, fixed SMZX mode 5 and added a demo so you can see it has more than 256 colors lol.

My fork's 1.1 Windows binary
1.1 source code
Huh.
0

#5 User is offline   ajs 

  • carpe diem
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,614
  • Joined: 21-October 00
  • Gender:Male
  • Location:United Kingdom

Posted 21 November 2009 - 12:54 PM

Don't generate shared libraries, then GCC will link them statically. That's what we do for the official builds (except for SDL, for debugging purposes). Also, you don't need SDL_net, MZX has its own network layer.

--ajs.
0

#6 User is offline   asiekierka 

  • ??
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,267
  • Joined: 06-April 06
  • Gender:Male
  • Location:Poland

Posted 21 November 2009 - 01:08 PM

View Postajs, on Nov 21 2009, 01:54 PM, said:

Don't generate shared libraries, then GCC will link them statically. That's what we do for the official builds (except for SDL, for debugging purposes). Also, you don't need SDL_net, MZX has its own network layer.

--ajs.

Oh, silly me. Well, now it's too late and I'm far too lazy to do that until I fix the modes fully.

But, what do you think about the addons themselves?
Huh.
0

#7 User is offline   asiekierka 

  • ??
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,267
  • Joined: 06-April 06
  • Gender:Male
  • Location:Poland

Posted 22 November 2009 - 08:06 AM

FOCUS POINT 2: THE ASSAULT OF TURNERS (asiefork only)

Also, a way to detect my fork:
set "smzx_mode" 4
if "smzx_mode" = 4 "theforkisthere"
* "no fork, stupid"
end
: "theforkisthere"
* "fork, stupid"


EDIT: also, an interactive color demo. arrow keys and space d00ds

This post has been edited by asiekierka: 22 November 2009 - 08:08 AM

Huh.
0

#8 User is offline   zzo38 

  • Registered members
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 16-May 08
  • Gender:Not Telling

Posted 22 November 2009 - 08:47 PM

Is there a way to detect asiefork outside of MegaZeux, so that I can add support for it to checkres utility?
In Capitalist America, law violates YOU!

"Potion of Confusing": Solve all the puzzles, hold second one as you hold a pencil, and save gibbering mouthers from the king's army.
0

#9 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 22 November 2009 - 09:17 PM

View Postzzo38, on Nov 22 2009, 03:47 PM, said:

Is there a way to detect asiefork outside of MegaZeux, so that I can add support for it to checkres utility?

In addition to asiekierka's suggestion, you can also check to see if it's a game that actually exists. If it does, then it wasn't made with his fork.
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#10 User is offline   Dr Lancer-X 

  • 電波、届いた?
  • Group: DigiStaff
  • Posts: 8,936
  • Joined: 20-March 02
  • Location:ur mom nmiaow

Posted 23 November 2009 - 12:19 AM

Quote

In addition to asiekierka's suggestion, you can also check to see if it's a game that actually exists. If it does, then it wasn't made with his fork.

You'd have to do an auxiliary check to make sure checkres isn't running on asie's computer first, though.
Posted Image
<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
0

#11 User is offline   asiekierka 

  • ??
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,267
  • Joined: 06-April 06
  • Gender:Male
  • Location:Poland

Posted 23 November 2009 - 03:58 PM

But I am going to add a counter as soon as i add something worthwhile.

"ASIEFORK_VER"
Huh.
0

#12 User is offline   zzo38 

  • Registered members
  • PipPipPip
  • Group: Members
  • Posts: 445
  • Joined: 16-May 08
  • Gender:Not Telling

Posted 23 November 2009 - 07:00 PM

None of that will help detect it outside of MegaZeux. What I am asking is a way to detect it from checkres. And I don't want to make it a silly way like Exophase/Lancer-X described. (I want to make the checkres included with PZX versions (my fork of MegaZeux) to detect as many forks as possible, but if some cannot be detected in this way I will just have to omit checking for those forks)
In Capitalist America, law violates YOU!

"Potion of Confusing": Solve all the puzzles, hold second one as you hold a pencil, and save gibbering mouthers from the king's army.
0

#13 User is offline   asiekierka 

  • ??
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,267
  • Joined: 06-April 06
  • Gender:Male
  • Location:Poland

Posted 23 November 2009 - 07:37 PM

View Postzzo38, on Nov 23 2009, 08:00 PM, said:

None of that will help detect it outside of MegaZeux. What I am asking is a way to detect it from checkres. And I don't want to make it a silly way like Exophase/Lancer-X described. (I want to make the checkres included with PZX versions (my fork of MegaZeux) to detect as many forks as possible, but if some cannot be detected in this way I will just have to omit checking for those forks)

Except yours, none can apparently.
Huh.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users