BMP 2 UDG for ZXPand with UDG Board

Discussion about ZX80 / ZX81 Software
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: BMP 2 UDG for ZXPand with UDG Board

Post by Moggy »

All sorted Greg although shameful embarrassment means I'm not revealing how. :oops: :oops: :oops:
Last edited by Moggy on Wed Dec 20, 2017 10:38 pm, edited 1 time in total.
Moggy
Posts: 3231
Joined: Wed Jun 18, 2008 2:00 pm

Re: BMP 2 UDG for ZXPand with UDG Board

Post by Moggy »

Just an observation.

Saved some BMPs resized via windows paint (successfully) but when it comes to displaying them on the zeddy they are upside down!?

Yes I know the answer is to flip them before saving but was just curious as to why?
User avatar
GCHarder
Posts: 427
Joined: Sat Dec 14, 2013 7:46 pm

Re: BMP 2 UDG for ZXPand with UDG Board

Post by GCHarder »

Moggy wrote: Wed Dec 20, 2017 9:23 pm they are upside down!?
That has always been the case, I don't know why, see Wilf Rigter's article at

http://www.user.dccnet.com/wrigter/inde ... /BMP2P.htm

Regards;

Greg
User avatar
siggi
Posts: 988
Joined: Thu May 08, 2008 9:30 am
Location: Wetterau, Germany
Contact:

Re: BMP 2 UDG for ZXPand with UDG Board

Post by siggi »

GCHarder wrote: Wed Dec 20, 2017 9:34 pm
Moggy wrote: Wed Dec 20, 2017 9:23 pm they are upside down!?
That has always been the case, I don't know why, see Wilf Rigter's article at

http://www.user.dccnet.com/wrigter/inde ... /BMP2P.htm

Regards;

Greg
No, not always, but usually :mrgreen:
There is a bit in the header, which indicates, whether it is up or down.

I once wrote a program to convert Zeddy Hires to BMP and set this bit different than usually. Thus I did not need to mirror the HIRES picture, but the PC programs (Firefox or similar) show the BMP correctly even when it is not upside down :)

Siggi
My ZX81 web-server: online since 2007, running since dec. 2020 using ZeddyNet hardware
http://zx81.ddns.net/ZxTeaM
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: BMP 2 UDG for ZXPand with UDG Board

Post by mrtinb »

I have tried your great software on real ZX81 and I can happily report that it works with:
  • UDG 4 ZXpand/ZXblast with set jumper to CHR$128
  • ZXblast
To get it working on ZXblast:
  • REM out line 40 LOAD "BMPS/"+B$+".BMP;32768"
  • REM out line 9994 LLIST "M=L"
  • When loading press L to load.
  • Enter ZXblast loader with Double-Shift-L.
  • Select BMP and append ":32768" and N/L to load.
  • Press N/L back at the filename prompt.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Post Reply