IZX: a new standard format and driver for ZX Spectrum icons

Todo sobre la creación, diseño y programación de nuevo software para
nuestro Spectrum

Moderador: Sir Cilve Sinclair

Responder
Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

IZX: a new standard format and driver for ZX Spectrum icons

Mensaje por cheveron » Mié Jul 10, 2013 11:02 am

This does for icons what FZX does for fonts.

Imagen

Driver: http://www.mediafire.com/?y2qt2ygmo2tcndh
Source: http://www.mediafire.com/?lqam322occq7x08
Example icons: http://www.mediafire.com/?txwmlmt3sinhyws

Converter (icon should be located in top left of screen centred on the middle 4 cells):

Código: Seleccionar todo

   5 LET end=55200
  10 FOR g=0 TO 4
  20 LET b=0
  30 FOR n=0 TO 3
  40 FOR s=0 TO 1
  50 LET b=b+b+POINT (s*17+7,168-g*4-n)
  60 NEXT s
  70 NEXT n
  80 POKE end+g*9,b
  90 NEXT g
 100 FOR g=0 TO 4
 110 FOR n=0 TO 3
 120 FOR s=0 TO 1
 130 LET r=7+g*4+n
 140 IF g<4 OR n<2 THEN POKE end+1+g*9+n*2+s,PEEK (16384+(r-8*INT (r/8))*256+INT (r/8)*32+1+s)
 150 NEXT s
 160 NEXT n
 170 NEXT g
 180 LET b=INT (PEEK (end+36)/8)*8
 190 IF ATTR (1,1)=56 THEN LET b=b+8
 200 IF ATTR (1,2)=56 THEN LET b=b+4
 210 IF ATTR (2,1)=56 THEN LET b=b+2
 220 IF ATTR (2,2)=56 THEN LET b=b+1
 230 POKE end+36,b


I came up with the idea for 18x18 icons in 1999 when I was designing the Buddy GUI. They take advantage of attributes, using them as the mask which means you can use them against a colour background, and each icon is only 41 bytes in length. By comparison, a 16x16 icon with a full bitmap mask would use 64 bytes per icon.
«Dime con quién andas, y te diré quién eres» — Cervantes

Avatar de Usuario
mcleod_ideafix
Johnny Jones
Mensajes: 3985
Registrado: Vie Sep 21, 2007 1:26 am
Ubicación: Jerez de la Frontera
Contactar:

Re: IZX: a new standard format and driver for ZX Spectrum ic

Mensaje por mcleod_ideafix » Mié Jul 10, 2013 4:44 pm

Is all this documentation being compiled into a wiki or something?
Web: ZX Projects | Twitter: @zxprojects

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: IZX: a new standard format and driver for ZX Spectrum ic

Mensaje por cheveron » Vie Jul 12, 2013 8:59 am

mcleod_ideafix escribió:Is all this documentation being compiled into a wiki or something?


I put the FZX stuff in the Sinclair FAQ but I haven't created a page for the IZX stuff yet.
«Dime con quién andas, y te diré quién eres» — Cervantes

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: IZX: a new standard format and driver for ZX Spectrum ic

Mensaje por cheveron » Lun Sep 09, 2013 2:34 pm

There's now an IZX editor available: http://www.zxmodules.de/previews/IZXEditor_0_21.zip
Última edición por cheveron el Lun Sep 09, 2013 11:47 pm, editado 1 vez en total.

susso
Jack The Nipper
Mensajes: 146
Registrado: Mar May 07, 2013 9:42 am

Re: IZX: a new standard format and driver for ZX Spectrum ic

Mensaje por susso » Lun Sep 09, 2013 9:06 pm

AWESOME!!! thanks!

Avatar de Usuario
cheveron
Manic Miner
Mensajes: 280
Registrado: Lun Jun 28, 2010 6:14 pm
Ubicación: Londres
Contactar:

Re: IZX: a new standard format and driver for ZX Spectrum ic

Mensaje por cheveron » Lun Sep 09, 2013 11:48 pm

susso escribió:AWESOME!!! thanks!


There's a new version so I've updated the link. My Buddy 2013 icon set is here: https://dl.dropboxusercontent.com/u/156 ... /icons.zip
«Dime con quién andas, y te diré quién eres» — Cervantes

Responder

¿Quién está conectado?

Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 29 invitados