Search found 25 matches

by Ivan
Sun Sep 20, 2020 8:04 pm
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

Non documented - Acorn tried unsuccesfully to have users to follow certain rules. :)

David Braben had to break almost all rules to write Elite - World first 3D game.

Especially Sophie Wilson was the master mind of BBC BASIC and the first ARM processor.

https://www.youtube.com/watch?v=jhwwrSaHdh8
by Ivan
Fri Sep 18, 2020 9:35 am
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

I'm currently writing a program for efficient use of expensive fabric and the user starts at the bottom left corner. As a person I'm more practical than theoritical so The Cartesian coordinate suits me fine. I agre in the "ease" use of Basic is priotized over speed. I'm surprised how well ...
by Ivan
Thu Sep 17, 2020 6:29 pm
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

BBC Basic does use 'conventional' coordinates, although it uses 'Graphic Units' in which 1 pixel is equal to 2 g.u. . This of course conflicts with the text coordinate system, unless text was printed at the graphics cursor. In memory it is stored from the top left corner - getting my head round the...
by Ivan
Thu Sep 17, 2020 8:58 am
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

Does BBC BASIC invert the Y coords? Didn't know that... interesting... BBC BASIC does what I have learned about coordinate systems. For me it's logically when y = 0 then you are on the floor and increasing y-values goes upwards. And that view goes fine with the origin at 0,0 and move in a quadrant ...
by Ivan
Thu Sep 17, 2020 8:51 am
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

Of course you have to learn new stuff, if you try another languages - what else. Well, you previously wrote I assumed that [.. we ..] could use the knowledge we already have. Hence my respective reply. In this case I was thinking of "normal" cartesian coordinate system still could be used...
by Ivan
Wed Sep 16, 2020 12:25 pm
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

Saki wrote:Little John is right !

It is a strange large thread.
Making simple things mostly complicated. :wink:

You have to do it like it says in the manual :!:
Agreed.

If I won't follow the manual I'll have to invert y myself.

I thought I had explained that. :)
by Ivan
Wed Sep 16, 2020 12:20 pm
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

Does BBC BASIC invert the Y coords? Didn't know that... interesting... BBC BASIC does what I have learned about coordinate systems. For me it's logically when y = 0 then you are on the floor and increasing y-values goes upwards. And that view goes fine with the origin at 0,0 and move in a quadrant ...
by Ivan
Wed Sep 16, 2020 12:12 pm
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

@Little John "(this is the classic behaviour of the BASIC programming language)." - not the BBC Basic I was used to in the eighties. :) OK. But it works that way in many classic BASIC flavours, IIRC e.g. in GW-BASIC, QBASIC, QuickBASIC, Turbo BASIC, PowerBASIC, ... That very little I know...
by Ivan
Wed Sep 16, 2020 8:24 am
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

@Little John "(this is the classic behaviour of the BASIC programming language)." - not the BBC Basic I was used to in the eighties. :) OK. But it works that way in many classic BASIC flavours, IIRC e.g. in GW-BASIC, QBASIC, QuickBASIC, Turbo BASIC, PowerBASIC, ... That very little I know...
by Ivan
Tue Sep 15, 2020 10:28 am
Forum: General Discussion
Topic: LineXY
Replies: 38
Views: 7677

Re: LineXY

I'm currently writing a program that needs a lot of collision detection and scrolling. I converted some of my code from BBC BASIC to Pure Basic with ease, but the upside-down for y-values adds another layer of difficulties that makes it extra hard and is a hurdle for me. I really, really like PB but...
by Ivan
Tue Sep 15, 2020 8:08 am
Forum: Off Topic
Topic: Speed of Basic
Replies: 5
Views: 2745

Speed of Basic

I'm a new user in this warm and friendly forum. Some of my questions have been answered with: Because of speed or one pass compiler. It made me think of a nice recently discovery of this little ARM computer with free Basic (of course not of the level of PB). :D https://geoffg.net/maximite.html This ...
by Ivan
Mon Sep 14, 2020 8:37 pm
Forum: General Discussion
Topic: Which BASICs have been you using in your life?
Replies: 61
Views: 22052

Re: Which BASICs have been you using in your life?

1982: Commodore Basic (peek-poke)
1983: Acorn BBC BASIC (inline assembler, procedures, functions ect.)
2018: Richard Russel BBCBASIC (inline assembler, struct, OOP, Windows interface ect.)
2020: Trying PureBasic mainly because of the debugger...
by Ivan
Mon Sep 14, 2020 8:30 pm
Forum: General Discussion
Topic: Procedures sequence
Replies: 7
Views: 1735

Re: Procedures sequence

@spikey

I was thinking of a function eg.

Code: Select all

      result = cubik(lenght, width, height)

      def func cubik(x, y, z)
      return x * y * z
by Ivan
Mon Sep 14, 2020 8:00 pm
Forum: General Discussion
Topic: Procedures sequence
Replies: 7
Views: 1735

Re: Procedures sequence

@mk-soft

In BBCBASIC that I on a dayli basis don't use declarations.

pseudo code:

call procedures in any sequence or procedures call each other in any sequence:
end

def proc_a
endproc

defproc_b
endproc
by Ivan
Mon Sep 14, 2020 1:50 pm
Forum: General Discussion
Topic: Procedures sequence
Replies: 7
Views: 1735

Re: Procedures sequence

@spikey - thanks I had read in pdf manual about procedures. I skimmed down the paragraph to the "Example: Call a function by its name" and assumed that was a missing end of the procedures paragraph. But now, I'm thinking a "normal" basic function is replaced by a procedure call b...