English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 492
Search took 0.05 seconds.
Search: Posts Made By: alkis
Forum: request.UAE Wishlist 05 October 2019, 20:39
Replies: 1
Views: 2,240
Posted By alkis
Don't know if you've solved this, but the...

Don't know if you've solved this, but the solution is to disable "Mouse integration" in the Input menu of virtualbox of your vm.

(right control gives back mouse to host OS)
Forum: Coders. System 28 July 2019, 18:16
Replies: 14
Views: 1,385
Posted By alkis
Doesn't freeze on me. I assembled with vasm and...

Doesn't freeze on me. I assembled with vasm and run it from cli. Works as designed, I think :)
So, try making an executable and run it from cli.

When you call OS functions, a0-a1/d0-d1 are...
Forum: Coders. Releases 09 July 2019, 01:42
Replies: 91
Views: 23,512
Posted By alkis
You are welcome. I am glad it worked! :)

You are welcome. I am glad it worked! :)
Forum: Coders. Releases 08 July 2019, 20:14
Replies: 91
Views: 23,512
Posted By alkis
Don't have ptplayer.h but I'd assume that...

Don't have ptplayer.h but I'd assume that mt_Enable is declared there.

Try adding __far keyword right after type and before the name (mt_Enable)
Forum: support.FS-UAE 07 July 2019, 06:09
Replies: 17
Views: 2,243
Posted By alkis
Indeed that was the problem. After switching to...

Indeed that was the problem.
After switching to fs-uae-3.0 branch, it built correctly. It took 45 minutes to compile :) (on pi 3, single thread make invocation)

Thanks!
Forum: support.FS-UAE 06 July 2019, 18:13
Replies: 17
Views: 2,243
Posted By alkis
Compilation, on rp3, breaks at: make make ...

Compilation, on rp3, breaks at:

make
make all-recursive
make[1]: Entering directory '/home/pi/t/fs-uae'
make[2]: Entering directory '/home/pi/t/fs-uae'
depbase=`echo src/drawing.o | sed...
Forum: Coders. C/C++ 31 May 2019, 20:45
Replies: 1,184
Views: 129,507
Posted By alkis
grep -R _mbstate_t /opt/amiga/ (or wherever you...

grep -R _mbstate_t /opt/amiga/ (or wherever you installed the compiler) shows up a few places.

wchar.h looks most promising. Maybe try #include <wchar.h> prior to stdlib.h?
Forum: Coders. Asm / Hardware 08 May 2019, 18:59
Replies: 53
Views: 4,175
Posted By alkis
Thank you very much for the explanation

Thank you very much for the explanation
Forum: Coders. Asm / Hardware 08 May 2019, 17:20
Replies: 53
Views: 4,175
Posted By alkis
Cool! But what's the meaning of 32 'global area'?...

Cool! But what's the meaning of 32 'global area'? And is it bytes or long-words?
Forum: Coders. C/C++ 04 May 2019, 18:26
Replies: 1,184
Views: 129,507
Posted By alkis
¨ Your toolchain needs update. With a version...

¨
Your toolchain needs update. With a version git-pulled/make update/make on 2/5, I get a running executable on (emulated) A1000.

Displays "Statefile parameter missing." when run.
Forum: Coders. C/C++ 02 May 2019, 09:49
Replies: 17
Views: 1,404
Posted By alkis
Ah, that makes sense.

Ah, that makes sense.
Forum: Coders. C/C++ 01 May 2019, 23:17
Replies: 17
Views: 1,404
Posted By alkis
kind of big, huh? malloc is pulled in?

kind of big, huh? malloc is pulled in?
Forum: Coders. C/C++ 01 May 2019, 20:01
Replies: 17
Views: 1,404
Posted By alkis
whats the byte size of the executable on that...

whats the byte size of the executable on that bebbo?
Forum: Coders. Releases 30 April 2019, 01:25
Replies: 9
Views: 1,427
Posted By alkis
I love how this is so self-contained build-wise. ...

I love how this is so self-contained build-wise.

Thanks a million!
Forum: Coders. C/C++ 22 April 2019, 01:34
Replies: 23
Views: 5,921
Posted By alkis
Expanding my previous answer...This seems to...

Expanding my previous answer...This seems to solve it.


#ifndef LEAN
#include <clib/dos_protos.h>
#include <clib/exec_protos.h>
#define __chip
#else
#include <proto/exec.h>
#include...
Forum: Coders. C/C++ 14 April 2019, 11:29
Replies: 38
Views: 6,329
Posted By alkis
Here is a little experiment in python ...

Here is a little experiment in python
https://drive.google.com/file/d/17gRHKV7_oiYsWDVSt0kQSYd5TXurBMgE/view?usp=sharing

Get it and from within gdb, type 'source al.py'
Now when you debug and...
Forum: Coders. C/C++ 07 April 2019, 04:04
Replies: 17
Views: 1,404
Posted By alkis
Nope. The compiler did constant folding. It's a...

Nope. The compiler did constant folding. It's a mess. If you need to play with floats/doubles use the standard C library :)
Forum: Coders. C/C++ 07 April 2019, 02:14
Replies: 17
Views: 1,404
Posted By alkis
What do you mean "handle"? My sample "handles"...

What do you mean "handle"? My sample "handles" floats and with no extra
amiga libraries (gcc integrated support). I've included a line that does float multiplication.
It just can't print them,...
Forum: Coders. C/C++ 06 April 2019, 18:54
Replies: 17
Views: 1,404
Posted By alkis
I don't know if it's possible opening dos library...

I don't know if it's possible opening dos library with required version of 0 to ever be able to fail. (Maybe when you don't have any memory left)

If you fail to open it though, you have (at least)...
Forum: support.FS-UAE 30 March 2019, 16:24
Replies: 7
Views: 1,681
Posted By alkis
I tried fs-uae in mint19.1. Got segmentation...

I tried fs-uae in mint19.1. Got segmentation fault. (nothing complaining about Qt though)
I removed the package, got the source, compiled & run. Segmentation fault again (still not Qt related).
...
Forum: Coders. C/C++ 22 March 2019, 11:42
Replies: 7
Views: 1,028
Posted By alkis
It is executable. You can do icon.library...

It is executable. You can do
icon.library LOADWB
icon.library DELAY
icon.library ENDCLI
Forum: Coders. C/C++ 22 March 2019, 00:20
Replies: 7
Views: 1,028
Posted By alkis
Nice. Never seen the concept of library working...

Nice. Never seen the concept of library working as an executable as well. Neat.
Forum: Coders. C/C++ 21 March 2019, 18:28
Replies: 7
Views: 1,028
Posted By alkis
Indeed, having icon.library in libs: allows GoWB...

Indeed, having icon.library in libs: allows GoWB to work in a500/a1000.

Kind of defeats the purpose to have a disk freely distributable though if you are gonna include Commodore's code. :)
...
Forum: Coders. C/C++ 21 March 2019, 15:15
Replies: 7
Views: 1,028
Posted By alkis
loadwb replacement crashes on OS<2.0

Hello all,

I got this http://aminet.net/package/util/sys/GoWB and it works on emulated a500+, a1200 but not on A1000/A500.

Anyone can spot any issue(s)?


#include <proto/exec.h>
#include...
Forum: Coders. C/C++ 03 February 2019, 16:03
Replies: 1,184
Views: 129,507
Posted By alkis
Can you please explain what you are trying to do?...

Can you please explain what you are trying to do? :)
Forum: Coders. C/C++ 02 February 2019, 16:08
Replies: 1,184
Views: 129,507
Posted By alkis
Quick example attached. You are...

Quick example attached.



You are welcome :)
gprof is in the toolchain.
Forum: Coders. C/C++ 02 February 2019, 12:20
Replies: 1,184
Views: 129,507
Posted By alkis
On how to inline you might want to take a look at...

On how to inline you might want to take a look at https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html
The syntax is not intuitive. It would be better to have a separate assembly file where your...
Forum: Coders. C/C++ 30 January 2019, 20:40
Replies: 1,184
Views: 129,507
Posted By alkis
has the "strcpy" optimization been regressed...

has the "strcpy" optimization been regressed somehow?

code in compiler explorer...
Forum: Coders. C/C++ 23 January 2019, 21:37
Replies: 1,184
Views: 129,507
Posted By alkis
This gathers some tricks ...

This gathers some tricks
https://medium.com/@renaudcerrato/the-best-gcc-tips-and-tricks-you-must-know-33e788020221
Forum: Coders. C/C++ 22 January 2019, 19:41
Replies: 1,184
Views: 129,507
Posted By alkis
I stand corrected. Happy, but corrected! Thank...

I stand corrected. Happy, but corrected! Thank you.
Forum: Coders. C/C++ 22 January 2019, 17:31
Replies: 1,184
Views: 129,507
Posted By alkis
1.3 is not yet fully supported as far as I know...

1.3 is not yet fully supported as far as I know in libnix. (If you need C startup and/or C library functions like malloc etc)

Better stay with 2.0 as min requirement
Forum: Coders. C/C++ 06 January 2019, 15:42
Replies: 1,184
Views: 129,507
Posted By alkis
Yeap. Worked as a charm. Thanks!

Yeap. Worked as a charm. Thanks!
Forum: Coders. C/C++ 06 January 2019, 09:36
Replies: 1,184
Views: 129,507
Posted By alkis
Git pull/make update/make all breaks today on...

Git pull/make update/make all breaks today on newlib


make[7]: Entering directory '/home/alex/t/amiga-gcc/build-Linux/newlib/libm020/newlib/libc'
rm -f libc.a
rm -rf tmp
mkdir tmp
cd tmp; \
...
Forum: Coders. C/C++ 04 January 2019, 22:45
Replies: 1,184
Views: 129,507
Posted By alkis
generated code...

generated code...
Forum: Coders. C/C++ 18 December 2018, 21:43
Replies: 1,184
Views: 129,507
Posted By alkis
There is something wrong at your end. ...

There is something wrong at your end.


m68k-amigaos-gcc hello.c -noixemul -o hello
alex[0]@omen eab$ ls -ltr hello
-rwxrwxr-x 1 alex alex 10568 ??? 18 22:41 hello


Everything compiles fine...
Forum: Coders. C/C++ 18 December 2018, 18:47
Replies: 1,184
Views: 129,507
Posted By alkis
Can you provide a small source code (hello.c?)...

Can you provide a small source code (hello.c?) that illustrates the problem? We can then try to compile it and see if that's something in your end or in the toolchain.
Forum: Coders. Asm / Hardware 12 December 2018, 18:43
Replies: 1,000
Views: 43,180
Posted By alkis
Never mind, I got it. You and a/b start from 10...

Never mind, I got it. You and a/b start from 10 instead of 1. Brilliant.
Forum: Coders. Asm / Hardware 12 December 2018, 18:36
Replies: 1,000
Views: 43,180
Posted By alkis
Nice. Why you need to call forbid prior though? ...

Nice. Why you need to call forbid prior though?
I like the exg trick :)

And your exit condition is off (or I am misreading it). When you get the carry on 500 digits, you are on the 1001...
Forum: Coders. Asm / Hardware 12 December 2018, 00:16
Replies: 1,000
Views: 43,180
Posted By alkis
code 94, final exe 132 ;; vasmm68k_mot...

code 94, final exe 132


;; vasmm68k_mot -Fhunkexe -o euler25 euler25.asm
DIGITS = 1000
NUMSTORAGE = DIGITS/2
opt x+

lea.l -NUMSTORAGE(sp),sp
move.l sp,a1
Forum: Coders. Asm / Hardware 11 December 2018, 23:26
Replies: 1,000
Views: 43,180
Posted By alkis
The no bss space got me wondering :) Umm,...

The no bss space got me wondering :)
Umm, what's the final executable size?
Showing results 1 to 40 of 492

 
Forum Jump

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


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