Hi.
First of all, I did TRY and search the forums to see if anyone had requested info on BASIC before but the keyword is to common so it didn't work!
Many years ago (about 35, I used to program in good old fashioned GWBASIC (for Pegasus software). Since then I have done VERY little coding, but what little I have done has been either with GW or Qbasic.
I mention the following purely to explain why I am not embracing new programming languages - after a small stroke around 10 years ago, I now find it almost impossible to learn new tasks of any real complexity. I can function absolutely fine - but I can sit down and spend 5 hours learning a new skill and tomorrow I will only retain the vaguest of details. It's a bit of a nuisance. Daft example, just before the brain hiccuped, I was learning PHP and although not a good coder, I was making modest progress. Since then, nothing "newly learned" with PHP seems to stick at all. Meh.
Anyway, enough of the background.
So, although I realise I might need to use a dosbox or other emulator AND I also accept that speed may welll be grim - what I am trying to find is the following.
Basic where I can use line numbers - GW,BASIC, QBASIC would be awesome but other similar ones are fine too.
Can be compiled (long story short it is not for serious security but it is to stop folks easily cheating on a small game)
Will allow me (even if needs much faffing about) to access at least TWO GPIO pins - one input and one output.
I have found several versions of basic which will do TWO of the above list, but not yet found one which can do all three. I know that DOSBOX will run old dos games (so should run compiled qbasic ok) - I just don't know how to go about accessing the IO ports.
Any help would be awesome - as otherwise my options are a little bit limited.
Many Thanks