Jump to content

don bright

Members
  • Posts

    6
  • Joined

  • Last visited

  • Days Won

    1

don bright last won the day on December 7 2020

don bright had the most liked content!

don bright's Achievements

Newbie

Newbie (1/14)

6

Reputation

  1. there's nothing much in the files, its just replacing some of the key mappings as an experiment. some text editors allow keymapping to switch on the fly at runtime, but thats quite a lot of work. yeah the escape-command is a very interesting feature..... its just that i have been using nano commands since 1996 (as you may know, nano was based on Pico, a mail reader from the University of Washington) so its kind of hard for me to switch to a different layout.
  2. its very very impressive.... i tried some very basic modifications (attached) to make it act more like nano. (ctrl-n = next line, ctrl-p = prev, meta-g = go to line, ctrl-w = find, ctrl-o = save) this is not intended for anyone to use, its just to get an idea of how hard/easy it would be. (obviously requires modifying main.asm to change the .inc files to the ones attached here) it would take quite a bit more work to really convert it to act like nano... there are also some issues with the emulator on linux. 1. the emulator has apparently chosen ctrl-f to be 'fullscreen' apparently. this kind of breaks the ctrl-f thing (which in nano is actually 'move cursor forward one character') 2. the emulator apparently thinks ctrl-c is the same thing as escape. i dont know if thats how things are on the c64 or..... anyways really cool project. screen.nano.inc keyboard.nano.inc cmd.nano.inc
    excellent. brings back good memories. thanks.
  3. oh nevermind i had to download all ten BIN files into the same folder as PRG then load and run it. ok
  4. i tried to start the x16emu emulator on linux then i typed LOAD"XMAS2020.PRG .... it flashed some merry xmas words on the screen but then froze and went black... not sure if i did something wrong. anyways its a great demo video on youtube, brings me back to the old days. impressive how much you can fit in such a little amount of space.
  5. Hello there, Very interested in this project... I grew up on TRS 80 BASIC, Apple II LOGO, TI 99/4a BASIC, IBM PC BASICA, etc. There was something different about the design philosophy of those old machines. They were inviting you to come and play around with them down to the bare metal of the hardware itself. Totally different design philosophy than what happens today - except maybe in the Arduino/Raspberry Pi world. Man its been a while since i wrote anything in BASIC....attached is Yet Another Mandlebrot Set program translated from Python to BASIC for Commander X16 emulator. Most of the lines ended up being REM comments. ... i tried to emulate functions in BASIC which was kind of funny. The user can pixelate easily by changing "SP' variable, for speed. and change the exploration point pretty easy too. I guess i had a realization... BASIC was easy, for computers of that era... but.. maybe not as easy as some things nowdays. I grew up with BASIC (Donkey.bas, startrek.bas, all the BBS hits), but programming with it now, it feels like an interpreted assembly language, For example there is no "IF.. ELSE' control structure, functions can only have one argument... GOSUB cannot return a value... variable names have two letters only and it won't warn you on longer ones, GOTO is a pretty normal way to break a for loop, number lines are required...and to be honest I never really learned how to do things like arrays of data. wow. Just really different after using all these modern languages. Even QBASIC from the early 90s is very different than C64 Basic. On the other hand, I do like the general lack of parenthesis, brackets, curly braces, back ticks, hash marks, dollar signs, exclamation points, massive dependency libraries, and so forth. There is still something nice about it's simplicity and small size and directness. And the fact the whole thing can be documented in a pretty small manual. It also neatly hides an impressive amount of mathematics floating point functions under a deceptively simple cover. As for the slowness... i had forgotten how it can be interesting to have something going so slow that you can actually see what it's doing. That can be kind of cool sometimes. Everything seems a bit more on the human scale. It kind of reminds me of the Mandelbrot set itself... something that comes from a very simple foundation, but if you explore it there is a whole world of interesting things. I feel like maybe there is still some progress to be made on BASIC on an 8bit machine but I just don't know what it would look like exactly. Maybe something even easier than Basic while also maintaining the simplicity and immediacy of it, but also the low resource usage. I know some people like "Scratch".. not sure if thats ever been done with a tiny CPU though. Then there is MicroPython and Circuit Python. The PROG8 language looks very interesting but the compiler cannot be run inside the machine itself if i understand correctly. anyways thanks. m.bas
×
×
  • Create New...

Important Information

Please review our Terms of Use