Page 2 of 2

Re: BMP 2 UDG for ZXPand with UDG Board

Posted: Wed Dec 20, 2017 8:08 pm
by Moggy
All sorted Greg although shameful embarrassment means I'm not revealing how. :oops: :oops: :oops:

Re: BMP 2 UDG for ZXPand with UDG Board

Posted: Wed Dec 20, 2017 9:23 pm
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?

Re: BMP 2 UDG for ZXPand with UDG Board

Posted: Wed Dec 20, 2017 9:34 pm
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

Re: BMP 2 UDG for ZXPand with UDG Board

Posted: Wed Dec 20, 2017 9:51 pm
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

Re: BMP 2 UDG for ZXPand with UDG Board

Posted: Wed Dec 20, 2017 10:10 pm
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.