Re: [Ql-Users] Peripheral of the day

2010-10-27 Thread Urs Koenig (QL)
Petri Pellinen wrote:
 just to lighten the mood here with all the talk about doing 
 the taxes and so forth... I thought to amuse you with 
 something totally ridiculous.
 
 Here's a pic of of a prototype of a wonderful new peripheral for the
 QL: http://www.flickr.com/photos/petrip/5118906714/
 
 And yes, it actually does something. This bad boy can display 
 a byte decoded as BCD on its glorious two digit LED display:
 http://www.flickr.com/photos/petrip/5118293873/
 
 Showing the result of poke 99072,66 :-D
Nice!

 Learning electronics with the QL is loads of fun. There was a 
 *lot* to learn for a software guy just to be able to do this 
 one simple thing in hardware. Now that the hard part of 
 interfacing with the QL is halfway there (no reads yet, just 
 writes...) rest of the way to a fully working ethernet 
 adapter should be easy ;-) Really looking forward to 
 replacing pretty much all of the 74xx logic circuitry with a 
 single Xilinx CPLD and starting to work towards hooking this 
 baby to an Arduino microcontroller. Next week's agenda is 
 building a JTAG adapter for the Xilinx chip so that I can 
 program it. Whoops, need to learn Verilog first. Well, that's 
 part of the fun :)
If I had the time I would like to do such self-study experiments too.

Keep on going!

Cheers'Urs

___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Peripheral of the day

2010-10-27 Thread Tony Firshman

Norman Dunbar wrote, on 27/Oct/10 09:57 | Oct27:

Norman/



Here's a pic of of a prototype of a wonderful new peripheral for the
QL: http://www.flickr.com/photos/petrip/5118906714/

That's a serious breadboard you have there!


... and starting to work towards hooking this baby to
an Arduino microcontroller.

I've just started learning electronics again after about 30-40 years of
ignorance! I've bought an Arduino. What a brilliant bit of kit!



 and only £18 plus vat if you buy a hundred (8-)#
http://uk.farnell.com/multicomp/mc-nove/board-atmega328-arduino-duemilanove/dp/1813412

You now need to design a USB interface so you can use it with your QL.

Tony

--
QBBS (QL fido BBS 2:257/67) +44(0)1442-828255
   t...@firshman.co.uk http://firshman.co.uk
Voice: +44(0)1442-828254 Fax: +44(0)1442-828255 Skype: tonyfirshman
TF Services, 29 Longfield Road, TRING, Herts, HP23 4DG
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] QLiberator

2010-10-27 Thread Rich Mellor

On 27/10/2010 12:40, Dilwyn Jones wrote:
Anyone know how to get QLiberator to move outside the top left 512x256 
pixel part of the screen on a high-res display?


The Move icon will float around the whole of the 1024x768 for example, 
but the QLiberator window stays firmly within 512x256. At first I 
thought it might be down to the basic windows, but even setting the 
basic primary channel to cover the full screen doesn't seem to help.


Must admit, I've always used it at its default start position and 
probably never tried moving it around before! I'm using v3.36 of the 
compiler BTW.


Dilwyn Jones


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm




This is probably something you cannot do as the limits for moving the 
front screen is probably hard coded in the original SuperBASIC 
unfortunately.


--
Rich Mellor
RWAP Services

http://www.rwapsoftware.co.uk
http://www.rwapservices.co.uk

-- Try out our new site: http://sellmyretro.com


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] QLiberator

2010-10-27 Thread Dilwyn Jones

On 27/10/2010 12:40, Dilwyn Jones wrote:
Anyone know how to get QLiberator to move outside the top left 
512x256 pixel part of the screen on a high-res display?


The Move icon will float around the whole of the 1024x768 for 
example, but the QLiberator window stays firmly within 512x256. At 
first I thought it might be down to the basic windows, but even 
setting the basic primary channel to cover the full screen doesn't 
seem to help.


Must admit, I've always used it at its default start position and 
probably never tried moving it around before! I'm using v3.36 of 
the compiler BTW.


Dilwyn Jones



This is probably something you cannot do as the limits for moving 
the front screen is probably hard coded in the original SuperBASIC 
unfortunately.


--
Rich Mellor
RWAP Services

Thanks - I was afraid that might be the case.

The nearest I came to being able to fix this was to use the extra 
parameters of the WTV and WMON commands on QPC2 to move the basic 
windows out of the way instead:


WTV ,32,256
WMON ,0,256

One day, I might search for '512' and '256' in the binary of QLib and 
see if these can be patched if they are really hard coded... :-(


Dilwyn Jones 




___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] Peripheral of the day

2010-10-27 Thread Petri Pellinen
On Wed, Oct 27, 2010 at 3:14 PM, Tony Firshman t...@firshman.co.uk wrote:
 Norman Dunbar wrote, on 27/Oct/10 13:03 | Oct27:
 On 27/10/10 10:59, Tony Firshman wrote:
 http://uk.farnell.com/multicomp/mc-nove/board-atmega328-arduino-duemilanove/dp/1813412

 Not a bad price! I got mine and a starter kit for about £50 all in. I
 always wanted a breadboard when I was younger and playing with
 electronics, couldn't ever afford one back then.

The Arduino stuff is amazing, I really can't wait to start playing
with those. I share Norman's history with breadboarding: always wanted
to do it but first couldn't afford it and then didn't have the time.

 superHermes looked very like Petri's for a long time.  Considering how
 critical and fast the main data link to the QL was, it was quite amazing it
 worked at all.

It's actually very comforting to hear that comment about superHermes!
So I'm not the only person fooling around with a jumble of jumper
wires before committing to PCB:s.

I also was concerned about the relatively high clock speed on the QL
expansion bus when connected to the breadboard but quite a few people
on various discussion forums seemed to agree that a breadboard should
be able to handle approximately 10 MHz before the capacitive effects
of the rails on the breadboard start to kick in.



/Petri
___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm


Re: [Ql-Users] QLiberator

2010-10-27 Thread Ralf Reköndt

Dilwyn Jones wrote:


This is probably something you cannot do as the limits for moving
the front screen is probably hard coded in the original SuperBASIC
unfortunately.

--
Rich Mellor
RWAP Services

Thanks - I was afraid that might be the case.

The nearest I came to being able to fix this was to use the extra
parameters of the WTV and WMON commands on QPC2 to move the basic
windows out of the way instead:

WTV ,32,256
WMON ,0,256

One day, I might search for '512' and '256' in the binary of QLib and
see if these can be patched if they are really hard coded... :-(


Nearly all things in QLib's Frontend are done under SuperBASIC. There is one 
keyword for the Outline (necessary), built in QLib's inbuilt extension code, 
one to activate the pointer in a loop to detect, where the ponter is on 
screen for selecting the items. All loose items, their select/unselect 
colors and little borders are done under SuperBASIC. A clever little toolkit 
for small applications (if one knows how to use it). Other keywords (like 
REL_A6) seem to be used for generating the compiled code .


Perhaps the SuperBASIC pointer loop detects, if 512x256 is reached, remind 
the time, where QLib was written. If it is done in SuperBASIC, it would be 
very difficulty to find these locations. If it is done in the MC procedure 
for activating the pointer, it is possiblemaybe.


Cheers...Ralf 


___
QL-Users Mailing List
http://www.q-v-d.demon.co.uk/smsqe.htm