nedoPC.org

Electronics hobbyists community established in 2002
Atom Feed | View unanswered posts | View active topics It is currently 18 Mar 2024 22:54



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

Joined: 29 Jan 2013 13:43
Posts: 52
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 16:17
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
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?

_________________
:dj: https://mastodon.social/@Shaos


27 May 2013 16:54
Profile WWW
Fanat
User avatar

Joined: 29 Jan 2013 13:43
Posts: 52
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 02:52
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
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...

_________________
:dj: https://mastodon.social/@Shaos


28 May 2013 07:01
Profile WWW
Fanat
User avatar

Joined: 29 Jan 2013 13:43
Posts: 52
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 12:11
Profile
Fanat
User avatar

Joined: 29 Jan 2013 13:43
Posts: 52
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 02:10
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
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...

_________________
:dj: https://mastodon.social/@Shaos


10 Jul 2013 05:34
Profile WWW
Fanat
User avatar

Joined: 29 Jan 2013 13:43
Posts: 52
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 11:12
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
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?...

_________________
:dj: https://mastodon.social/@Shaos


11 Jul 2013 12:29
Profile WWW
Fanat
User avatar

Joined: 29 Jan 2013 13:43
Posts: 52
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.


11 Jul 2013 23:58
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
Reply with quote
Post 
OK, I see

_________________
:dj: https://mastodon.social/@Shaos


12 Jul 2013 05:53
Profile WWW
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
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

_________________
:dj: https://mastodon.social/@Shaos


10 Aug 2013 02:08
Profile WWW
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
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?...

_________________
:dj: https://mastodon.social/@Shaos


10 Aug 2013 22:55
Profile WWW
Fanat
User avatar

Joined: 29 Jan 2013 13:43
Posts: 52
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 04:01
Profile
Online
Admin
User avatar

Joined: 08 Jan 2003 23:22
Posts: 22382
Location: Silicon Valley
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?...

_________________
:dj: https://mastodon.social/@Shaos


22 Aug 2013 06:05
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 55 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.