English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 448
Search took 0.04 seconds.
Search: Posts Made By: alkis
Forum: Coders. C/C++ 07 November 2018, 18:26
Replies: 958
Views: 87,725
Posted By alkis
Frankly I haven't tried to do any tests (besides...

Frankly I haven't tried to do any tests (besides simple little lua scripts).

I took a quick look at https://www.lua.org/tests/ and there is no 5.3.5. I could try with 5.3.4 when I get some time :)
Forum: Coders. C/C++ 06 November 2018, 21:01
Replies: 958
Views: 87,725
Posted By alkis
get https://www.lua.org/ftp/lua-5.3.5.tar.gz ...

get https://www.lua.org/ftp/lua-5.3.5.tar.gz
tar xvf the thing.
cd lua-5.3.5/src
make generic CC=m68k-amigaos-gcc CFLAGS="-O3 -fomit-frame-pointer" AR="m68k-amigaos-ar r"...
Forum: Coders. Asm / Hardware 05 November 2018, 19:55
Replies: 796
Views: 27,066
Posted By alkis
C has a beautiful simplicity. It's the most...

C has a beautiful simplicity. It's the most "What you see is what you get" programming language (excluding asm for a sec).

You can almost always guess what the compiler will do behind the...
Forum: Coders. System 27 October 2018, 20:16
Replies: 8
Views: 447
Posted By alkis
I think you are still executing the inner loop. ...

I think you are still executing the inner loop.

Try adding a break to get out of the inner loop.

if(pWin1 == NULL && pWin2 == NULL && pWin3 == NULL)
{
// Exit because all...
Forum: Coders. System 27 October 2018, 16:02
Replies: 8
Views: 447
Posted By alkis
When you press the close button on the window,...

When you press the close button on the window, you actually close the window and then the (pMsg = (struct IntuiMessage *)GetMsg(pWin3->UserPort)) is accessing something that is not there.
Forum: Coders. Asm / Hardware 23 October 2018, 23:41
Replies: 51
Views: 1,542
Posted By alkis
OS-calls treat, as you wrote, d0/d1/a0/a1 as...

OS-calls treat, as you wrote, d0/d1/a0/a1 as scratch registers. You can't expect their values to be preserved, UNLESS it is specifically stated in the autodocs. (for example look at Results in this...
Forum: Coders. Asm / Hardware 22 October 2018, 01:40
Replies: 4
Views: 376
Posted By alkis
Usually this OpenLibrary/CloseLibrary thing goes...

Usually this OpenLibrary/CloseLibrary thing goes in the "startup" code. You then have variables like _DOSBase which you use in every module you want to use dos. You don't OpenLibrary the dos...
Forum: Coders. General 14 October 2018, 23:18
Replies: 5
Views: 468
Posted By alkis
Thanks for sharing. Every little bit helps.

Thanks for sharing. Every little bit helps.
Forum: Coders. General 14 October 2018, 19:42
Replies: 5
Views: 468
Posted By alkis
Coding a 3d world - Advice needed

I am trying to figure out how to do 3d transformations and I would really like some help from you guys that have played with these things before.

Ok, after researching (google) this a bit, I think...
Forum: Coders. C/C++ 11 October 2018, 12:35
Replies: 19
Views: 706
Posted By alkis
Gcc hasn't been ported to amiga, so we can't...

Gcc hasn't been ported to amiga, so we can't compare the speed on the same hardware. If we compare amiga sas/c compilation speed and gcc linux hosted amiga cross-compiler then I'd guess gcc is a few...
Forum: Coders. C/C++ 06 October 2018, 12:40
Replies: 958
Views: 87,725
Posted By alkis
My guess would be, little or no difference, since...

My guess would be, little or no difference, since I'd assume the graphics bandwidth would be the bottleneck.
Forum: Coders. C/C++ 04 October 2018, 19:10
Replies: 958
Views: 87,725
Posted By alkis
Not pure gcc, but this might be of help ...

Not pure gcc, but this might be of help
https://github.com/alexalkis/library
Forum: Coders. C/C++ 03 October 2018, 23:55
Replies: 958
Views: 87,725
Posted By alkis
will do, as soon as they hit github! :) ...

will do, as soon as they hit github! :)

Issues to be reported at https://github.com/bebbo/gcc or you have a new location?
Forum: Coders. C/C++ 03 October 2018, 23:49
Replies: 958
Views: 87,725
Posted By alkis
Ummm, gprof??? As in "profiler works"?

Ummm, gprof??? As in "profiler works"?
Forum: Coders. Asm / Hardware 30 September 2018, 03:13
Replies: 16
Views: 608
Posted By alkis
If you setup a linux vm then this compiles it: ...

If you setup a linux vm then this compiles it:

make CPU=m68k SYNTAX=madmac CC=x86_64-w64-mingw32-gcc CFLAGS="-Os" LDFLAGS="-s -static" TARGETEXTENSION=.exe
Forum: Coders. C/C++ 29 September 2018, 15:09
Replies: 9
Views: 461
Posted By alkis
Also this...

Also this https://github.com/cahirwpz/libnix/blob/master/sources/misc/detach.c
Forum: Coders. C/C++ 29 September 2018, 13:36
Replies: 9
Views: 461
Posted By alkis
Excluding the self-detaching bit, this might be...

Excluding the self-detaching bit, this might be of help

http://amigadev.elowar.com/read/ADCD_2.1/AmigaMail_Vol2_guide/node0082.html
Forum: Coders. System 30 August 2018, 19:56
Replies: 32
Views: 1,274
Posted By alkis
This. It patches AvailMem to never report...

This.

It patches AvailMem to never report the fast mem (which stays unallocated), and patches AllocMem to clear the bit of FAST_MEMORY and always return CHIP_MEMORY.
Forum: Coders. System 29 August 2018, 20:21
Replies: 32
Views: 1,274
Posted By alkis
Start with an empty list If list empty get all...

Start with an empty list
If list empty get all memory and store memory pointers to list
if list not empty, walk list & free all list memory pointers
Forum: support.Apps 22 August 2018, 22:11
Replies: 27
Views: 1,104
Posted By alkis
How about... wait `rx "say...

How about...


wait `rx "say RANDOM(1,15,TIME('S'))"`
Forum: Coders. C/C++ 18 August 2018, 10:59
Replies: 18
Views: 3,575
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, 02:24
Replies: 22
Views: 1,160
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, 21:20
Replies: 22
Views: 1,160
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, 17:39
Replies: 18
Views: 3,683
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, 20:36
Replies: 18
Views: 3,683
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, 12:17
Replies: 69
Views: 2,883
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, 04:42
Replies: 69
Views: 2,883
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, 01:44
Replies: 69
Views: 2,883
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, 20:07
Replies: 69
Views: 2,883
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, 19:45
Replies: 69
Views: 2,883
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, 19:36
Replies: 69
Views: 2,883
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, 19:29
Replies: 69
Views: 2,883
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, 19:05
Replies: 69
Views: 2,883
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, 18:31
Replies: 69
Views: 2,883
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, 17:17
Replies: 69
Views: 2,883
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, 03:31
Replies: 958
Views: 87,725
Posted By alkis
Probably the best code generation on Amiga...

Probably the best code generation on Amiga C....like ever.
Forum: Coders. C/C++ 03 July 2018, 00:49
Replies: 25
Views: 2,659
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, 18:41
Replies: 25
Views: 2,659
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, 18:40
Replies: 43
Views: 4,108
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, 20:54
Replies: 11
Views: 994
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.
Showing results 1 to 40 of 448

 
Forum Jump

All times are GMT +2. The time now is 20:55.


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