Search found 150 matches

by DDRM
Fri 22 Jun 2018, 07:50
Forum: BBC BASIC language
Topic: BBC on linux
Replies: 10
Views: 6565

Re: BBC on linux

Hi Dragomrak. Bar a very quick play on a Firestick, I personally haven't used BBC Basic on a linux system, but you might want to have a look at this: http://www.bbcbasic.co.uk/bbcsdl/ There is a (free!) version of the SDL version of BBC BASIC which will run on x86-based Unix systems, which might be ...
by DDRM
Thu 21 Jun 2018, 08:57
Forum: Graphics and Games
Topic: Alert text in dialogue box?
Replies: 6
Views: 3639

Re: Alert text in dialogue box?

Hi 5:4, I'm assuming that this is for BB4W: I'm not familiar enough with the BBC_SDL equivalents to make useful comments, though these might give some hints if the library routines are sufficiently similar. Maybe someone else can offer comments on that? You'll need to read the contents of the drop d...
by DDRM
Wed 20 Jun 2018, 08:38
Forum: Tools and Utilities
Topic: My EVAL for use with BBC BASIC
Replies: 6
Views: 4923

Re: My EVAL for use with BBC BASIC

I'm sure you ARE being honest in saying the code isn't malicious, but if you were trying to sneak malicious code onto other people's machines you might not be honest! ;-) Looking briefly at the code, you don't need to use EVAL in many of these circumstances: just use the functions themselves. So for...
by DDRM
Wed 20 Jun 2018, 08:27
Forum: Graphics and Games
Topic: The trouble with italic
Replies: 2
Views: 2377

Re: The trouble with italic

I think the issue is that in the "normal" print mode the background of letters is opaque (overwrites whatever was underneath with background colour). One solution would be to use VDU 5 mode, when text is written at the graphics cursor. In this mode the character backgrounds are transparent, so won't...
by DDRM
Tue 19 Jun 2018, 11:49
Forum: User Interface
Topic: Specifying monitor?
Replies: 3
Views: 3494

Re: Specifying monitor?

Hi 5against4, It probably depends on how you have configured the two monitors, but you should be able to use SYS "MoveWindow" to achieve what you want. Here's a brief demo that works on my two screen system (continuous desktop, with the "main" monitor being the right one). Here I let the default win...
by DDRM
Tue 19 Jun 2018, 11:22
Forum: Tools and Utilities
Topic: My EVAL for use with BBC BASIC
Replies: 6
Views: 4923

Re: My EVAL for use with BBC BASIC

Hi Israel, I'm not quite sure what your routines are doing, and I'm reluctant to be importing unknown code into an environment where it could potentially do a lot of damage... Could you tell us a bit more about your DLLs and the routines? It looks a bit as though you are using BB4W as a shell to run...
by DDRM
Tue 12 Jun 2018, 12:26
Forum: BBC BASIC language
Topic: READ and DATA
Replies: 6
Views: 4532

Re: READ and DATA

Hi John, Just to add, you don't need line numbers, you can use labels, which may be clearer (and less at risk if you change the program structure later). Here's an example Best wishes, D DIM months$(11),days$(6) RESTORE (month_data) FOR x%=0 TO 11 READ months$(x%) NEXT x% RESTORE (day_data) FOR x%=0...
by DDRM
Tue 12 Jun 2018, 12:14
Forum: User Interface
Topic: No such system call
Replies: 6
Views: 5073

Re: No such system call

Hi Mike, It's in the nature of deadlines that they pass... :-) I've had a quick play, but I can't make it work, either. I tried loading NtDLL, which succeeds (it returns an address), but then when I search with GetProcAddress it doesn't find RtlCopyMemory (returns a 0 address). I checked that it can...
by DDRM
Tue 12 Jun 2018, 11:44
Forum: User Interface
Topic: Using the mouse scroll wheel
Replies: 3
Views: 3419

Re: Using the mouse scroll wheel

Hi Patrick,

You can read the mouse scroll wheel with GET or INKEY: wheel up returns 140, and wheel down returns 141.

Best wishes,

D
by DDRM
Mon 11 Jun 2018, 08:10
Forum: User Interface
Topic: No such system call
Replies: 6
Views: 5073

Re: No such system call

Hi Mike, I suspect it may be because they are in different MS libraries (=DLLs?). BBB4W loads certain libraries, and their routines can be called by name, but otherwise you need to load them and find the names yourself. Have a look at the section in the manual called "accessing the windows API", in ...