Enterprise Forever

:UK => Programming => Topic started by: gflorez on 2016.February.02. 12:51:50

Title: Issues on PaintBox
Post by: gflorez on 2016.February.02. 12:51:50
Paintbox never has worked for me. When I had no mouse at hand I used to think that it was because of that lack.

I'm not a fan of doing drawings, so not a big problem for me. But I can not stand that one thing doesn't work.

The program loads completely, but the cursor slides below the icons, rather than above. Therefore I can't select anything, because I think that the mouse driver does not report correctly the position nor the clicks to the Paintbox program.

Does someone have the same issue?


Here I send a snapshot of the error. Move the cursor with the internal joystick.
Title: Re: Issues on PaintBox
Post by: IstvanV on 2016.February.02. 13:02:11
Paintbox 2.1R from ep128.hu seems to have the issue of the cursor being drawn below the icons, but it works otherwise.
Title: Re: Issues on PaintBox
Post by: gflorez on 2016.February.02. 13:40:20
Yes, the same error with the icons, but it doesn't obey the clicks for me.

Does it works for you?

Can it be that some Rom conflicts with it?
Title: Re: Issues on PaintBox
Post by: gflorez on 2016.February.02. 15:01:14
The Paintbox screen is made of several layers, each one with a different video channel. It seems for me that the mouse channel is opened in the wrong video channel. If I exit to basic, system var 180 =130

(http://www.ep128.hu/Ep_Util/Pic/Paintbox.gif)

In this picture from ep128.hu the pointer can be seen over the paint zone, but all versions I've tried put it below.
Title: Re: Issues on PaintBox
Post by: IstvanV on 2016.February.02. 17:21:03
With a basic configuration (only EXOS 2.1, IS-BASIC and epfileio.rom, with 128 KB RAM), it works other than the cursor being drawn under the upper rows of icons (the lower 2-color ones do not have this problem). Using another configuration (EXOS 2.32 with 640 KB RAM and many ROMs), it was also invisible on the paint area at first after starting the program, but after moving the cursor to the icons and back, it became visible. I tested Paintobox 2.1R from ep128.hu.
Title: Re: Issues on PaintBox
Post by: Zozosoft on 2016.February.02. 21:25:49
Paintbox never has worked for me.
It is always worked for me :oops:

Quote
Therefore I can't select anything
The problem with your latest MOUSE.XR
Version until Jan. 19. are working, the next two (without :PB) are not.
Title: Re: Issues on PaintBox
Post by: Zozosoft on 2016.February.02. 21:29:49
it works other than the cursor being drawn under the upper rows of icons (the lower 2-color ones do not have this problem).
It is a normal, the lower 2 rows don't need a colors. The upper icons need a colors, then these printed on different video page, and these are deppendig from the selected video mode for drawing. If want a continous pointer, then needed all area in one page, but you can't read the symbols in the lower 2 rows in 16 or 256 colors mode...
Title: Re: Issues on PaintBox
Post by: gflorez on 2016.February.02. 22:58:56
It is always worked for me :oops:
The problem with your latest MOUSE.XR
Version until Jan. 19. are working, the next two (without :PB) are not.

Ok may be I'm not very interested on drawing programs....

You are right, older versions of the driver suddenly started to work with Paintbox...

My two last versions not... I have tried terminating the initialisation with the page address in A, but it is not the case.

Paintbox needs to initialise the driver "on demand". I can do a mix, the actual behaviour+PB command, only for internal use of the programs.
Title: Re: Issues on PaintBox
Post by: gflorez on 2016.February.02. 23:24:03
No, it doesn't work, because again the mouse device is linked over an existing link.

Title: Re: Issues on PaintBox
Post by: gflorez on 2016.February.02. 23:51:58
The very first auto-link version of the driver (https://enterpriseforever.com/hardware/re-paintbox-mouse-xr/msg42515/#msg42515) I "created" also doesn't work..

I don't want to return to the PB version again, so "somebody" has to take a look inside the Paintbox assembly.

Does it exist?
Title: Re: Issues on PaintBox
Post by: gflorez on 2016.February.03. 12:43:40
Corrected the issue inside the driver (https://enterpriseforever.com/programming/universal-mouse-driver/msg52502/#msg52502), not necessary to poke the Paintbox....
Title: Re: Issues on PaintBox
Post by: gflorez on 2016.February.05. 15:42:10
I want to put here an image disk with the PaintBox ver 2.1, as on it can be selected all the option controllers the driver actually has. Select them on the function keys.

F1=0 internal joystick
F2=1 Joystick 1
F3=2 Joystick 2
F4=3 Boxsoft mode
F5=4 EnterMice mode
F6=5 Serial Mouse Systems
F7=6 Serial Microsoft
F8=7 for future expansion. Probably automatic mode...

The controller mode can be tested easily by the old ways: from Basic "ASK 189 a" or fron EXDOS "VAR 189".

But it is more easy, and gives complete information, to type the ":MOUSE" command. (or :HELP MOUSE on newer versions)


A link to the Image has been added to the wiki pages.
Title: Re: Issues on PaintBox
Post by: gflorez on 2017.February.06. 12:54:19
I have found a PaintBox Rom in my compilation. In the Help it claims to be compatible with the Neos. Converted to Rom  by Hsoft in 1993, updated by Zozosoft on 2012.

I have tested it on the Emulator, but it hangs to a black screen.

How can I make it work? Has it the Mouse driver included? 
Title: Re: Issues on PaintBox
Post by: Zozosoft on 2017.February.06. 13:10:58
If I remember right :oops:  it is will simulate the MOUSE.XR loading from ROM if it is not installed.
Will look about it... it is need to be updated with the latest MOUSE.XR.
Title: Re: Issues on PaintBox
Post by: gflorez on 2017.February.06. 14:24:19
Better if the Rom picks the driver externally if it hasn't been installed. Then if a Rom of the driver is made, the PB.Rom will benefit from it.

And of course, PB as the name is forbidden... better PBOX, as it has been named.