English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 428
Search took 0.04 seconds.
Search: Posts Made By: alkis
Forum: Coders. C/C++ 18 August 2018, 09:59
Replies: 18
Views: 3,069
Posted By alkis
One trick I used on a similar issue with Emacs...

One trick I used on a similar issue with Emacs is:


#ifndef LEAN
#include <clib/dos_protos.h>
#include <clib/exec_protos.h>
#else
#include <proto/exec.h>
#include <proto/dos.h>
#endif
Forum: Coders. System 13 August 2018, 01:24
Replies: 22
Views: 532
Posted By alkis
Kind of work in progress, but this should give a...

Kind of work in progress, but this should give a basic starting point.


#include <dos/dos.h>
#include <dos/dostags.h>



#ifndef LEAN
#include <clib/dos_protos.h>
Forum: Coders. System 11 August 2018, 20:20
Replies: 22
Views: 532
Posted By alkis
Autodocs on execute say the result is bool on if...

Autodocs on execute say the result is bool on if it found and executed the prorgam or not.

http://amigadev.elowar.com/read/ADCD_2.1/Includes_and_Autodocs_3._guide/node015E.html

That does not...
Forum: Coders. Releases 10 August 2018, 16:39
Replies: 17
Views: 3,174
Posted By alkis
It's an interpreter :) You can run all sort of...

It's an interpreter :) You can run all sort of things, with various levels of recursion and such.

For example the last version I linked runs happily the "for.lua" with 4k stack.
"sieve.lua"...
Forum: Coders. Releases 09 August 2018, 19:36
Replies: 17
Views: 3,174
Posted By alkis
ok, gcc6 is GODLIKE :) 3.Work:t/amath>...

ok, gcc6 is GODLIKE :)


3.Work:t/amath> lua.exe sieve.lua
95
elapsed time: 5.31

3.Work:t/amath> luagcc sieve.lua
95
elapsed time: 4.64
Forum: Coders. C/C++ 26 July 2018, 11:17
Replies: 69
Views: 1,733
Posted By alkis
@deimos I just saw your makefile. You don't...

@deimos
I just saw your makefile. You don't link with math library. No -lmieee

Try this
vc bug.c -o bug -lmieee
Forum: Coders. C/C++ 26 July 2018, 03:42
Replies: 69
Views: 1,733
Posted By alkis
Ok, to make things even worse... :) I...

Ok, to make things even worse... :)

I compiled (beebo's gcc 6) the 'show me the hex bytes' thing. The values (aside from endianess) are the same on amiga and linux.

The thing is, executable...
Forum: Coders. C/C++ 26 July 2018, 00:44
Replies: 69
Views: 1,733
Posted By alkis
It could be either a) Not original library,...

It could be either
a) Not original library, altered. (Cause you know...internet)
b) emulation side-effect bug

Probably someone with 2.04 has to run this...
Forum: Coders. C/C++ 25 July 2018, 19:07
Replies: 69
Views: 1,733
Posted By alkis
Three libs are the same. Only one is different ...

Three libs are the same.
Only one is different
The bad one is mathieeedoubbas.library mathieeedoubbas 37.1 (21.1.91)
Good one mathieeedoubbas.library mathieeedoubbas 38.2 (24.1.92)

Bad one...
Forum: Coders. C/C++ 25 July 2018, 18:45
Replies: 69
Views: 1,733
Posted By alkis
Works as designed in A500+, A1200. I...

Works as designed in A500+, A1200.

I reverted my math#? libs (I kept a backup) and rerun on A500+ and gives the bug you describe in first post.

It's the libs.
Forum: Coders. C/C++ 25 July 2018, 18:36
Replies: 69
Views: 1,733
Posted By alkis
Reply, Go Advanced, press the little clip icon to...

Reply, Go Advanced, press the little clip icon to the right of the font settings on top.
Forum: Coders. C/C++ 25 July 2018, 18:29
Replies: 69
Views: 1,733
Posted By alkis
just attach your executable so we can run it.

just attach your executable so we can run it.
Forum: Coders. C/C++ 25 July 2018, 18:05
Replies: 69
Views: 1,733
Posted By alkis
Yes, all went well after rebuilding the...

Yes, all went well after rebuilding the toolchain. Except on A500+.

I just copied the libs:math#? from 3.1 to 2.04 and now it works in A500+ for me :)
Forum: Coders. C/C++ 25 July 2018, 17:31
Replies: 69
Views: 1,733
Posted By alkis
Heh, incidentally I also have math problem with...

Heh, incidentally I also have math problem with 2.04.

https://github.com/bebbo/gcc/issues/35

My bet is on the math#?.libraries in libs:
Forum: Coders. C/C++ 25 July 2018, 16:17
Replies: 69
Views: 1,733
Posted By alkis
You run it on real hardware or emulation? If on...

You run it on real hardware or emulation?
If on emulation in what emulated amiga? Have you tried running the executable in another emulated amiga? (i.e. if you run it in a500+ try it in A1200)

In...
Forum: Coders. C/C++ 25 July 2018, 02:31
Replies: 904
Views: 76,020
Posted By alkis
Probably the best code generation on Amiga...

Probably the best code generation on Amiga C....like ever.
Forum: Coders. C/C++ 02 July 2018, 23:49
Replies: 16
Views: 1,326
Posted By alkis
Everything works from terminal. I can see...

Everything works from terminal. I can see variables and all.

It must be some idiosyncrasy of Clion.
(Btw, I was using bgdbserver 0.1, switched to 0.2 still the same issue on clion. )
Forum: Coders. C/C++ 02 July 2018, 17:41
Replies: 16
Views: 1,326
Posted By alkis
Nice work. Works from terminal for me. I am...

Nice work. Works from terminal for me. I am trying to make Clion work with it. Stepping works (F8), it can't understand the variables though. (No variables in context)
Forum: Coders. C/C++ 15 June 2018, 17:40
Replies: 43
Views: 3,159
Posted By alkis
Oh man this is so cool. How is the host...

Oh man this is so cool. How is the host communicating with amiga? Tcp, serial something else?
Forum: Coders. Asm / Hardware 12 June 2018, 19:54
Replies: 11
Views: 806
Posted By alkis
Without testing it, my gut feeling is that a...

Without testing it, my gut feeling is that a command line assembler would be more efficient on the resources needed.
Forum: Coders. C/C++ 06 June 2018, 18:29
Replies: 904
Views: 76,020
Posted By alkis
Yeap, that was it (git pull) Thanks!

Yeap, that was it (git pull)

Thanks!
Forum: Coders. C/C++ 06 June 2018, 17:49
Replies: 904
Views: 76,020
Posted By alkis
I had removed ira from the 'all" target of...

I had removed ira from the 'all" target of makefile. I did 'git checkout Makefile' to get the original makefile. Build breaks at building ira.

Something weird is going on.

make ira -n
mkdir...
Forum: Coders. C/C++ 05 June 2018, 23:51
Replies: 904
Views: 76,020
Posted By alkis
libnix fails to build for me. mkdir -p...

libnix fails to build for me.

mkdir -p /opt/amiga/gcc6/m68k-amigaos/libnix/lib/libnix
mkdir -p build/libnix
echo 'void foo(){}' > build/libnix/x.c
if [ ! -e...
Forum: Coders. C/C++ 05 June 2018, 20:49
Replies: 1
Views: 398
Posted By alkis
A library template (C/Asm, mainly cross-develop focused)

Nothing fancy. A simple small framework to write libraries. Some documentation at the link

https://github.com/alexalkis/library
Forum: Coders. General 30 May 2018, 22:48
Replies: 10
Views: 775
Posted By alkis
While we are on tiled...I've played with it very...

While we are on tiled...I've played with it very little, but this (altered example) of plugin outputs assembler (and not binary) format.

@phx If you change the y/x order at loops, you'll...
Forum: Coders. C/C++ 28 April 2018, 12:57
Replies: 904
Views: 76,020
Posted By alkis
If I cd in projects/ira and type make it builds. ...

If I cd in projects/ira and type make it builds.
So, make -n from amiga-gcc folder:

mkdir -p build/ira
cd projects/ira && cc -o /home/alex/t/amiga-gcc/build/ira/ira -Os ira.c ira_2.c supp.c...
Forum: Coders. C/C++ 28 April 2018, 12:51
Replies: 904
Views: 76,020
Posted By alkis
It tries to do that: cd projects/ira && cc -o...

It tries to do that:
cd projects/ira && cc -o /home/alex/t/amiga-gcc/build/ira/ira -Os ira.c ira_2.c supp.c

and gets linker errors, which sounds reasonable cause there a lot more *.c files in...
Forum: Coders. C/C++ 28 April 2018, 12:12
Replies: 904
Views: 76,020
Posted By alkis
but I am using that *shrug*

but I am using that *shrug*
Forum: Coders. C/C++ 28 April 2018, 10:53
Replies: 904
Views: 76,020
Posted By alkis
is building of toolchain halted by ira erroring...

is building of toolchain halted by ira erroring or is it just me?
Forum: request.Apps 11 April 2018, 14:36
Replies: 3
Views: 392
Posted By alkis
At winuae on "CD & Hard drives" you press "Add...

At winuae on "CD & Hard drives" you press "Add directory or Archive..." and you add a folder (for example, make a new folder in your D drive, call it amiga, and add "D:\amiga")

Now emulated amiga...
Forum: request.Apps 10 April 2018, 20:38
Replies: 3
Views: 392
Posted By alkis
Assuming its for emulation....why don't you setup...

Assuming its for emulation....why don't you setup a folder on your host machine as amiga hard drive and uncompress all ST-disks there? Added bonus, no disk swapping! :)

Btw, there are a lot of...
Forum: support.FS-UAE 02 April 2018, 21:06
Replies: 21
Views: 1,257
Posted By alkis
This! +1

This! +1
Forum: Coders. C/C++ 27 March 2018, 18:32
Replies: 904
Views: 76,020
Posted By alkis
that repository is frozen. Now, you should...

that repository is frozen.

Now, you should use https://github.com/bebbo/amiga-gcc

Someone with windows experience should tackle this, but if you were in linux you would do:
git pull...
Forum: Coders. C/C++ 27 March 2018, 17:56
Replies: 904
Views: 76,020
Posted By alkis
So, I have a small project (like the command "ls"...

So, I have a small project (like the command "ls" in linux) and uses nostartup and thus it has a custom startup in assembly.

The exe size is at ~19k, and if I add -fbaserel -msmall-code goes at...
Forum: Coders. C/C++ 14 March 2018, 21:29
Replies: 43
Views: 3,159
Posted By alkis
A sampling profiler running on host code and not...

A sampling profiler running on host code and not disturbing emulated machine's timing would be nice ....just saying (or wishing)
Forum: Coders. General 13 March 2018, 23:34
Replies: 15
Views: 777
Posted By alkis
cool, thanks for all the combinations you tried!...

cool, thanks for all the combinations you tried! :)

Updated the plugin on repository, according to feedback!
Forum: Coders. General 13 March 2018, 18:11
Replies: 15
Views: 777
Posted By alkis
Hmm, can you edit with a text editor the script...

Hmm, can you edit with a text editor the script and change (near the bottom of the file)
menu="<Image>/Filters/Render"
to
menu="<Image>/Filtres/Rendu"

Second hmm, try changing it to cause it...
Forum: Coders. Asm / Hardware 13 March 2018, 17:48
Replies: 8
Views: 451
Posted By alkis
The pipe character as Ajk already said works for...

The pipe character as Ajk already said works for me.

(e.g https://github.com/alexalkis/dl/blob/master/dl/src/astartup.S )
Forum: Coders. General 13 March 2018, 17:32
Replies: 15
Views: 777
Posted By alkis
Hmmm, works for me on clean 2.8.22 install if I...

Hmmm, works for me on clean 2.8.22 install if I copy the .py file in C:\Program Files\GIMP 2\lib\gimp\2.0\plug-ins

(Windows 10/64 bit)
Forum: Coders. General 12 March 2018, 21:57
Replies: 15
Views: 777
Posted By alkis
Ok, I'll try it. Thanks for the link, btw. :)

Ok, I'll try it. Thanks for the link, btw. :)
Showing results 1 to 40 of 428

 
Forum Jump

All times are GMT +2. The time now is 00:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.09296 seconds with 10 queries