Texel sources available

All about the serious stuff.

Moderators: Mug UK, Zorro 2, Moderator Team

ThorstenOtto
Atari God
Atari God
Posts: 1521
Joined: Sun Aug 03, 2014 5:54 pm

Re: Texel sources available

Post by ThorstenOtto »

vido wrote:Is such way possible to replace coldfire unfriendly asm commands?
I'm not sure whether i understand what you mean. Pure-C's pcstdlib.lib and PurePascals system.ppu are only available in binary form.
User avatar
mfro
Atari Super Hero
Atari Super Hero
Posts: 968
Joined: Thu Aug 02, 2012 10:33 am
Location: SW Germany

Re: Texel sources available

Post by mfro »

vido wrote:
ThorstenOtto wrote:That pushes a byte on the stack, then pops a word. The 68k decreases the SP by 2 when pushing a byte on the stack, so this is essentially the same as shift left by 8. However, iirc this gives problems when run on coldfire. At least, for Pure-C, i'm using a patched version of pcstdlib.lib.
Just theoretical question Otto.
Is such way possible to replace coldfire unfriendly asm commands?
At least in theory, there is FreePascal which is more or less Delphi/Borland Pascal compatible (where Pure Pascal "inherited inheritance" from).
And - again, theoretically - there is an m68k port that is said to to support the v4e Coldfire.

As always, it just needs somebody with lots of sparetime, the knowledge and the passion ...
ThorstenOtto
Atari God
Atari God
Posts: 1521
Joined: Sun Aug 03, 2014 5:54 pm

Re: Texel sources available

Post by ThorstenOtto »

Code: Select all

The "tosunits" package is very minimal at this point, but it provides some AES, VDI, GEMDOS and XBIOS bindings. Based on these, it should be easy to add further bindings. The bindings were developed using the tos.hyp documentation, and various other bits of information available around the net. The still missing bindings should be very easy to add, using the existing ones as a template.
Naming differences

The bindings try to follow the established function names for OS functions. However, there are some differences compared to the C language, to avoid confusion caused by collisions in the global namespace. The most important are:

    All GEMDOS functions start with the prefix gemdos_. For example fwrite() becomes gemdos_fwrite().
    All XBIOS functions start with the prefix xbios_. For example random() becomes xbios_random().
    As a de-facto convention with Pascal, all type names are prefixed with T and all pointers to those types are prefixed with P. For example the AES MFORM structure is named TMFORM in Free Pascal, and a pointer to TMFORM is defined as PMFORM. Additionally, the AES OBJECT structure is named TAESOBJECT to avoid conflict with the TObject class type defined in the System unit.
That does not look very promising. "incomplete" here means that there barely exist any bindings, so you would have to implement most of them first. And different names means tons of changes to the sources. I think that would be a fulltime job for at least a few weeks, to only get you started. Not to speak about hunting down all the bugs, new and old ones...
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

gstoll wrote:
PeterS wrote:
PeterS wrote:Hmm good question. I can't remember.
I tried to repeat it but couldn't get it to happen again.
Previously I had been testing the behaviour with ctrl-insert and ctrl-shift-insert.
There was no file selector on the screen when it froze.
Now I am a bit confused. Did ist happen all time or only sometimes.

ThorstenOtto wrote:At least, for Pure-C, i'm using a patched version of pcstdlib.lib.
I patched my SYSTEM.PPU. We will see, when I make a new version.
It only happened once but it was my first time using the new version.
gstoll
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 113
Joined: Sun Feb 17, 2008 4:29 pm

Re: Texel sources available

Post by gstoll »

New version from 26.03.2020

- More english translation
- Bubbel Help also in the english version
- Hypertext in german and english
You do not have the required permissions to view the files attached to this post.
marss
Captain Atari
Captain Atari
Posts: 184
Joined: Thu Nov 07, 2002 12:29 pm

Re: Texel sources available

Post by marss »

Thanks
User avatar
tteclado
Atari freak
Atari freak
Posts: 66
Joined: Tue Jun 29, 2010 10:57 am

Re: Texel sources available

Post by tteclado »

:D thank you
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

I am one of those people who won't be working during the virus outbreak so I thought I might do a something useful.

I tried forking Texel and adding a small German->English language change via the Github website. I only changed one line but the Pull request is trying to change half of the file. I think this is due to a text encoding change.

Is this normal or did I do something wrong ?

Is it better to edit the file on the Atari and commit/push from there ?
8bitguy1
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 115
Joined: Sat Feb 23, 2013 3:54 am

Re: Texel sources available

Post by 8bitguy1 »

gstoll wrote:New version from 26.03.2020

- More english translation
- Bubbel Help also in the english version
- Hypertext in german and english

Thanks!
nagual
Captain Atari
Captain Atari
Posts: 466
Joined: Mon Sep 11, 2006 10:15 am
Location: Frankfurt am Main, Germany

Re: Texel sources available

Post by nagual »

gstoll wrote:New version from 26.03.2020

- More english translation
- Bubbel Help also in the english version
- Hypertext in german and english
Thanks a lot :D

:cheers:
ThorstenOtto
Atari God
Atari God
Posts: 1521
Joined: Sun Aug 03, 2014 5:54 pm

Re: Texel sources available

Post by ThorstenOtto »

PeterS wrote: Is this normal or did I do something wrong ?
Most files have CR/LF endings, maybe editing through the web interface changes that to just LF. I'm not sure about PurePascal, but in Pure-C, at least the editor does not like files with just LFs very much, so it is rather important to keep the line endings.

German umlauts may also give trouble when editing them in the web interface, which only supports utf-8
Is it better to edit the file on the Atari and commit/push from there ?
You can also edit it on any other host, as long as you are using an editor that keeps the line endings, or have some tool like dos2unix that can convert them back
User avatar
mpattonm
Hardware Guru
Hardware Guru
Posts: 585
Joined: Mon Oct 21, 2002 8:52 am
Location: Czech republic
Contact:

Re: Texel sources available

Post by mpattonm »

Thank you!
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

ThorstenOtto wrote:
PeterS wrote: Is this normal or did I do something wrong ?
German umlauts may also give trouble when editing them in the web interface, which only supports utf-8

You can also edit it on any other host, as long as you are using an editor that keeps the line endings, or have some tool like dos2unix that can convert them back
I think it is the German characters that have caused the problem.

So I tried an edit from the atari but even though I pushed it to github it didn't appear. I hate git.
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

I couldn't find a Lubuntu editor that supports different character encodings.

So I tried eclipse, it used to work on this box but won't start anymore and I lost the will to live after an hour of investigation.

Next I will try IntelliJ Community version.
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

More success with IntelliJ (which I prefer because I use it every day at work).

The question is, what character set to use ?
ThorstenOtto
Atari God
Atari God
Posts: 1521
Joined: Sun Aug 03, 2014 5:54 pm

Re: Texel sources available

Post by ThorstenOtto »

PeterS wrote:So I tried an edit from the atari but even though I pushed it to github it didn't appear. I hate git.
Do you have write access to the repo? If not, either ask gerhard about it, or create a fork and make a Pull-Request. In that case,you should be making your changes on a separate branch of your your local repo.
The question is, what character set to use ?
Thats another problem, there is maybe no editor that knows about the atari encoding. Best option may be DOS Codepage 437, but that is not perfect (eg the esszet has a different encoding).
gstoll
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 113
Joined: Sun Feb 17, 2008 4:29 pm

Re: Texel sources available

Post by gstoll »

ThorstenOtto wrote:I'm not sure about PurePascal, but in Pure-C, at least the editor does not like files with just LFs very much, so it is rather important to keep the line endings.
The editor form PP have no problem with LF, but the Compiler will not work.
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

I had all ready forked the repo and I am working on my own fork. The problems arose when I started the Pull-Request (very odd name) and it complained about half of the lines (German char encoding) then when I got around that it thinks all the line endings have changed.

Anyway I created the PR and it can be rejected if necessary.
ThorstenOtto
Atari God
Atari God
Posts: 1521
Joined: Sun Aug 03, 2014 5:54 pm

Re: Texel sources available

Post by ThorstenOtto »

PeterS wrote: I think it is the German characters that have caused the problem.
I think that are the line endings. If you hide whitespace changes by viewing https://github.com/pulsar122/texel/pull ... =split&w=1 there aren't that many differences anymore.
gstoll
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 113
Joined: Sun Feb 17, 2008 4:29 pm

Re: Texel sources available

Post by gstoll »

PeterS wrote:The problems arose when I started the Pull-Request (very odd name) and it complained about half of the lines (German char encoding) then when I got around that it thinks all the line endings have changed.
Yes the line endings are changed. Sorry for me it make no sense to merge the PR.

I push a new version from ENGLISH.INC, with your changes and some more.
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

No problem.

I am getting used to github at the same time. I've been using bitbucket and now Azure but not had encoding or eol issues.
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

I did another pull request for more translations but it doesn't seem to have worked.
gstoll
Obsessive compulsive Atari behavior
Obsessive compulsive Atari behavior
Posts: 113
Joined: Sun Feb 17, 2008 4:29 pm

Re: Texel sources available

Post by gstoll »

PeterS wrote:I did another pull request for more translations but it doesn't seem to have worked.
It look like it is easyer to send me the changes or attach it here.
User avatar
Mark_G
Atari Super Hero
Atari Super Hero
Posts: 565
Joined: Sun Feb 05, 2006 11:55 am
Location: Belgium

Re: Texel sources available

Post by Mark_G »

I tried to install it on a milan with magic milan + NVDI running. When I start Texel, I get at initiation of the printer, and before the program fully runs an error. On my Falcon and also with magic and NVDI I don't have this problem.
Can somebody advise me how to start TEXEL with this configuration ?
PeterS
Captain Atari
Captain Atari
Posts: 378
Joined: Fri Nov 09, 2007 1:53 pm
Location: England, GB

Re: Texel sources available

Post by PeterS »

There seems to be a problem with date formats. When I open a s/s with a date column it shows the month like this .04.

I created a new s/s and it is the same.
Post Reply

Return to “Applications”