nedoPC.org

Community of electronics hobbyists established in 2002

...
Atom Feed | View unanswered posts | View active topics It is currently 24 May 2017 00:11



Reply to topic  [ 51 posts ]  Go to page Previous  1, 2, 3, 4  Next
[ZX] SE Basic IV 4.0 Anya 
Author Message
Novelist
User avatar

Joined: 29 Jan 2013 16:43
Posts: 45
Location: 86.182.165.70
Reply with quote
Post 
Shaos wrote:
I already forked your repository on GitHub ;)

Now I need to understand how to build BasicSE IV from sources...


I use GNU binutils.


27 May 2013 19:17
Profile
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
cheveron wrote:
Shaos wrote:
I already forked your repository on GitHub ;)

Now I need to understand how to build BasicSE IV from sources...


I use GNU binutils.


Some special cross-compiled build?

_________________
:eugeek: https://twitter.com/Shaos1973


27 May 2013 19:54
Profile WWW
Novelist
User avatar

Joined: 29 Jan 2013 16:43
Posts: 45
Location: 86.182.165.70
Reply with quote
Post 
Shaos wrote:
cheveron wrote:
Shaos wrote:
I already forked your repository on GitHub ;)

Now I need to understand how to build BasicSE IV from sources...


I use GNU binutils.


Some special cross-compiled build?


Just the standard GNU binutils. It has included Z80 support for a while. Obviously you'll need to install the libraries for that architecture, but if you're running Debian you should be able to just apt-get them.


28 May 2013 05:52
Profile
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
I have Debian on my work and also on my wife's computer

On my home computer where I do everything I have Slackware - things are a little bit complicated there...

_________________
:eugeek: https://twitter.com/Shaos1973


28 May 2013 10:01
Profile WWW
Novelist
User avatar

Joined: 29 Jan 2013 16:43
Posts: 45
Location: 86.182.165.70
Reply with quote
Post 
Shaos wrote:
On my home computer where I do everything I have Slackware - things are a little bit complicated there...

I have a colleague who uses Slackware for his job. He also writes Java code in Emacs.


28 May 2013 15:11
Profile
Novelist
User avatar

Joined: 29 Jan 2013 16:43
Posts: 45
Location: 86.182.165.70
Reply with quote
Post 
I had a request from Alone Coder to port SE Basic IV to the ATM Turbo 2. Any chance your Sprinter version could be adapted? Also work is going well on v4.1. The keyboard arrangement might take a bit of getting used to but it will make entering 8-bit character sets much easier.


10 Jul 2013 05:10
Profile
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
I didn't modify anything in your sources yet - I simply added partial SE emulation to my Zpring emulator ;)

Basically I'm pretty sure that I can port it to Turbo2+ (and Sprinter)

Also about shortcuts - I think 4.0 approach (separate characters) is better then totally new shortcuts layout...

_________________
:eugeek: https://twitter.com/Shaos1973


10 Jul 2013 08:34
Profile WWW
Novelist
User avatar

Joined: 29 Jan 2013 16:43
Posts: 45
Location: 86.182.165.70
Reply with quote
Post 
Shaos wrote:
I didn't modify anything in your sources yet - I simply added partial SE emulation to my Zpring emulator ;)

I see.
Quote:
Basically I'm pretty sure that I can port it to Turbo2+ (and Sprinter)

That's great. I guess it won't be too hard to modify the hires ROM to use 80x25 text mode.
Quote:
Also about shortcuts - I think 4.0 approach (separate characters) is better then totally new shortcuts layout...
I guess I didn't make it clear. Letter by letter entry (with optional abbreviations) is still the standard keyword entry method. But now you can also enter any character in the range 32 to 255. This is mainly to make it easier to use 8-bit character sets. But in 7-bit mode it enables you to enter block graphics, UDGs and tokens.


11 Jul 2013 14:12
Profile
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
cheveron wrote:
I guess I didn't make it clear. Letter by letter entry (with optional abbreviations) is still the standard keyword entry method. But now you can also enter any character in the range 32 to 255. This is mainly to make it easier to use 8-bit character sets. But in 7-bit mode it enables you to enter block graphics, UDGs and tokens.


OK, but why new layout? Why not to keep old words at their old places?...

_________________
:eugeek: https://twitter.com/Shaos1973


11 Jul 2013 15:29
Profile WWW
Novelist
User avatar

Joined: 29 Jan 2013 16:43
Posts: 45
Location: 86.182.165.70
Reply with quote
Post 
Shaos wrote:
OK, but why new layout? Why not to keep old words at their old places?...


I didn't choose the layout. It's the result of simplifying the keyboard entry system (which frees up a lot of space for extra functionality).
I've replaced GRAPH and EXTEND mode with something more akin to how old terminal systems worked. CONTROL adds 79 to the code value of the next key entered which means CONTROL-SHIFT+A still gives UDG A. META sets bit 7 of the next key entered. They work a bit like the old EXTEND mode in that as soon as the character is entered the mode reverts to normal.


12 Jul 2013 02:58
Profile
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
OK, I see

_________________
:eugeek: https://twitter.com/Shaos1973


12 Jul 2013 08:53
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
cheveron wrote:
Shaos wrote:
cheveron wrote:
Shaos wrote:
I already forked your repository on GitHub ;)

Now I need to understand how to build BasicSE IV from sources...


I use GNU binutils.


Some special cross-compiled build?


Just the standard GNU binutils. It has included Z80 support for a while. Obviously you'll need to install the libraries for that architecture, but if you're running Debian you should be able to just apt-get them.


Finally I built it on my wife's Debian computer
This is listing files:
http://www.nedopc.org/nedopc/upload/sebasic4lst.zip

_________________
:eugeek: https://twitter.com/Shaos1973


10 Aug 2013 05:08
Profile WWW
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
Question

sebasic4 has examples folder where I can see a lot of programs with "Run-time Variables" as this one:

Code:
Auto 0

# Run-time Variables

Var f: NumFOR = 22528, 7, 2, 10, 2
Var y: NumFOR = 22, 21, 1, 20, 2
Var x: NumFOR = 32, 31, 1, 20, 3
Var g: NumFOR = 22528, 22527, 1, 60, 2

# End Run-time Variables

  10 FOR f=0 TO 7 STEP 2:\
     POKE USR "a"+f,BIN 10101010:\
     POKE USR "a"+F+1,BIN 01010101:\
     NEXT f
  20 FOR y=0 TO 21:\
     FOR x=0 TO 31:\
     PRINT AT y,x;"\a":\
     NEXT x:\
     NEXT y
  30 PAUSE 0:\
     CLS
  40 LET f=16384
  50 FOR g=f TO f+255:\
     POKE g,85:\
     NEXT g
  60 FOR g=f+256 TO f+511:\
     POKE g,170:\
     NEXT g
  70 LET f=f+512
  80 IF f<22528 THEN GO TO 50
  90 PAUSE 0


What is this? Also se2tap from tools folder can't compile it - se2tap doesn't like lines without number at the beginning and '\' character. So how it could be compiled?...

_________________
:eugeek: https://twitter.com/Shaos1973


11 Aug 2013 01:55
Profile WWW
Novelist
User avatar

Joined: 29 Jan 2013 16:43
Posts: 45
Location: 86.182.165.70
Reply with quote
Post 
Those are the examples programs I lifted from BASin. I really need to go through and clean all that stuff at some point. After the 4.1 release though (which juggles a couple of tokens around for better backwards compatibility). Would have replied sooner but I've been on holiday in Turkey and Georgia.


22 Aug 2013 07:01
Profile
Admin
User avatar

Joined: 09 Jan 2003 02:22
Posts: 15335
Location: New York
Reply with quote
Post 
cheveron wrote:
Those are the examples programs I lifted from BASin. I really need to go through and clean all that stuff at some point. After the 4.1 release though (which juggles a couple of tokens around for better backwards compatibility). Would have replied sooner but I've been on holiday in Turkey and Georgia.


But what is "Var" thing anyway?...

_________________
:eugeek: https://twitter.com/Shaos1973


22 Aug 2013 09:05
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 51 posts ]  Go to page Previous  1, 2, 3, 4  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.