English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 447
Search took 0.03 seconds.
Search: Posts Made By: bebbo
Forum: Coders. C/C++ 06 February 2020, 20:45
Replies: 69
Views: 9,241
Posted By bebbo
Since the behaviour changes if only the WinUAE...

Since the behaviour changes if only the WinUAE config is changed, it's a Kickstart or a WinUAE issue.



Good luck hunting elsewhere.
Forum: Coders. C/C++ 06 February 2020, 19:37
Replies: 69
Views: 9,241
Posted By bebbo
Since the memory is patched correctly but the...

Since the memory is patched correctly but the trap handler is not invoked, it looks like a bug in WinUAE.


=> ask there for support.
Forum: Coders. C/C++ 05 February 2020, 10:56
Replies: 69
Views: 9,241
Posted By bebbo
WINUAE: if the CPU is 68020 also enable 68882

WINUAE: if the CPU is 68020 also enable 68882
Forum: Coders. C/C++ 05 February 2020, 09:32
Replies: 69
Views: 9,241
Posted By bebbo
try wsl (ubuntu) together with VcXsrv instead of...

try wsl (ubuntu) together with VcXsrv instead of cygwin?

EDIT:
try different WinUAE configurations:

* CPU?
* Kickstart?
* ...
Forum: Coders. C/C++ 04 February 2020, 22:03
Replies: 69
Views: 9,241
Posted By bebbo
uuups - I updated that binary and some more...

uuups - I updated that binary and some more places...



/sorry
Forum: Coders. C/C++ 04 February 2020, 15:44
Replies: 16
Views: 1,089
Posted By bebbo
it's not necessary, because the graphics function...

it's not necessary, because the graphics function will allocate one per call, which means
ObtainSemaphore
AllocMem
WaitBlit (can't free tempras before)

FreeMem
ReleaseSemaphore
Forum: Coders. C/C++ 04 February 2020, 14:42
Replies: 16
Views: 1,089
Posted By bebbo
Maybe you forgot to clear the layer and allocate...

Maybe you forgot to clear the layer and allocate a matching tmpRas?
Without a ras->TmpRas a temporary is allocated per call...

And for the layer an Obtain/Release-Semaphore is called...

do...
Forum: Coders. C/C++ 04 February 2020, 12:49
Replies: 69
Views: 9,241
Posted By bebbo
learn gdb - first lesson: how to set a break...

learn gdb - first lesson: how to set a break point.
watch closely:

stefan@ZETRA:~/amiga-gcc/tickets/eab7$ m68k-amigaos-g++ -g test7.c -o test7
stefan@ZETRA:~/amiga-gcc/tickets/eab7$...
Forum: Coders. C/C++ 18 January 2020, 11:01
Replies: 1,219
Views: 142,178
Posted By bebbo
you must use -noixemul or one of -mcrt=nix13,...

you must use -noixemul or one of -mcrt=nix13, -mcrt=nix20, -mcrt=clib2


The default libraries are not that good... and you may create a ticket here: https://github.com/bebbo/newlib-cygwin/issues
Forum: Coders. Asm / Hardware 06 January 2020, 11:31
Replies: 33
Views: 1,217
Posted By bebbo
my expectation is, that the encoded offset is...

my expectation is, that the encoded offset is handled as in bcc/bsr.

X(pc)



if X is a number, that number is used without conversion. Thus

lea 2(pc),a0
Forum: Coders. C/C++ 05 January 2020, 12:26
Replies: 13
Views: 924
Posted By bebbo
I consider this as wrong, since it's not const....

I consider this as wrong, since it's not const. If DoSomethingWith modifies a value subsequent calls will start with the modified values.
Forum: Coders. Asm / Hardware 02 January 2020, 23:10
Replies: 26
Views: 1,823
Posted By bebbo
there is no good or bad - it's a religion. and...

there is no good or bad - it's a religion.
and here is some doc: https://sourceware.org/binutils/docs/as/
Forum: Coders. C/C++ 02 January 2020, 19:29
Replies: 1,219
Views: 142,178
Posted By bebbo
this will yield now Error: invalid...

this will yield now


Error: invalid operands (*UND* and .text sections) for `-' when setting `msg_length'



should be live soon
Forum: Coders. Asm / Hardware 02 January 2020, 15:04
Replies: 26
Views: 1,823
Posted By bebbo
m68k-amigaos-as generated hunks are more...

m68k-amigaos-as generated hunks are more compatible now. The example from above yields the same object file as vasm.

m68k-amigaos-ld links amiga hunks now different (again) to amiga aout.



...
Forum: Coders. Asm / Hardware 21 December 2019, 14:53
Replies: 26
Views: 1,823
Posted By bebbo
I don't understand why the generated offset...

I don't understand why the generated offset matters at all. So this should do it for vasm and as:

sym->value + target_section->output_offset
- sec->output_offset - r->addend - r->address
Forum: Coders. Asm / Hardware 20 December 2019, 23:10
Replies: 26
Views: 1,823
Posted By bebbo
Ok, I tracked it down Consider this example...

Ok, I tracked it down

Consider this example code:


_X:
nop
nop
bsr foo
rts
Forum: Coders. C/C++ 20 December 2019, 23:02
Replies: 1,219
Views: 142,178
Posted By bebbo
I'm not sure what the real error is. That's not...

I'm not sure what the real error is. That's not enough information here.
Forum: Coders. Asm / Hardware 20 December 2019, 14:04
Replies: 26
Views: 1,823
Posted By bebbo
Well, m68k-amigaos-ld inserts long jump tables...

Well, m68k-amigaos-ld inserts long jump tables and adjusts the word/short jumps to the next jump table (do you remember?)


Maybe there's an error...
Forum: Coders. C/C++ 20 November 2019, 10:35
Replies: 69
Views: 9,241
Posted By bebbo
for 'smaller' c++: - don't use...

for 'smaller' c++:


- don't use std::streams
- use -fno-exceptions -fno-rtti - unless you are really using excpetions/rtti
- use -flto
- move non-inlineable member functions into a...
Forum: Coders. C/C++ 19 November 2019, 10:53
Replies: 69
Views: 9,241
Posted By bebbo
Q1: I guess there is a WinUAE version containing...

Q1: I guess there is a WinUAE version containing a gdb server. I have no clue if my code would be helpful there.



Q2: I never tried it. I'm using Eclipse - it's working despite it needs a hack...
Forum: Coders. C/C++ 18 November 2019, 09:58
Replies: 69
Views: 9,241
Posted By bebbo
Woot! Someone is using it ;) ...

Woot! Someone is using it ;)








Since bgdbserver uses a TCP connection Forbid() will kill this too.
Forum: Coders. C/C++ 17 November 2019, 12:46
Replies: 8
Views: 693
Posted By bebbo
there are symbols: function names and symbols:...

there are symbols: function names
and symbols: debug information


despite the use of symbol for both it's different kind of information.


So it seems you are creating object files containing...
Forum: Coders. C/C++ 17 November 2019, 11:04
Replies: 8
Views: 693
Posted By bebbo
Just a side note:...

Just a side note: https://franke.ms/download/setup-amiga-gcc.exe is not compiled using cygwin - it uses msys2...
Forum: Coders. C/C++ 16 November 2019, 21:52
Replies: 8
Views: 693
Posted By bebbo
python and python-devel are both on the list of...

python and python-devel are both on the list of prerequisites.


=> Install all the listed packages rinse and repeat.
Forum: Coders. C/C++ 24 October 2019, 11:14
Replies: 1,219
Views: 142,178
Posted By bebbo
if you'd share your recipe, I'd look into it too.

if you'd share your recipe, I'd look into it too.
Forum: Coders. C/C++ 21 October 2019, 23:30
Replies: 29
Views: 2,101
Posted By bebbo
I agree, the setup is more complex. And you can...

I agree, the setup is more complex.
And you can automate the deployment and bgdbserver starting, as I with Eclipse.


a) run bgdbserver in a shared folder (shared from WinUAE and the PC). Do this...
Forum: Coders. C/C++ 21 October 2019, 22:49
Replies: 1,219
Views: 142,178
Posted By bebbo
maybe you can tell us a bit more - not only...

maybe you can tell us a bit more - not only fragments...
Forum: Coders. C/C++ 21 October 2019, 22:26
Replies: 29
Views: 2,101
Posted By bebbo
You can also source debug with my tool chain......

You can also source debug with my tool chain... -> use bgdbserver.
Plus you can debug a real Amiga.
Forum: Coders. C/C++ 21 October 2019, 15:15
Replies: 29
Views: 2,101
Posted By bebbo
I adapted tutorial 9 a bit - less allocations,...

I adapted tutorial 9 a bit - less allocations, more use of headers...

// Scoopex Tutorial 9 for Bebbo GCC 6.5.0b

#include <proto/exec.h>
#include <graphics/gfxbase.h>
#include...
Forum: Coders. C/C++ 12 October 2019, 23:52
Replies: 1,219
Views: 142,178
Posted By bebbo
please test

please test
Forum: Coders. C/C++ 12 October 2019, 22:52
Replies: 68
Views: 7,050
Posted By bebbo
you need a compiler/tool-chain which supports...

you need a compiler/tool-chain which supports different data segments with chip/fast attributes aka Amiga hunk files



With elf you have to use workarounds.
Forum: Coders. C/C++ 12 October 2019, 00:22
Replies: 1,219
Views: 142,178
Posted By bebbo
guess the last binutil merge discarded the...

guess the last binutil merge discarded the jsr->bsr optimization, or was it a gcc merge?


nm, I'll fix it

EDITH: build is running - should be live in ~1 hour.
Forum: Coders. C/C++ 11 October 2019, 21:27
Replies: 1,219
Views: 142,178
Posted By bebbo
hard to guess without more details - and yes...

hard to guess without more details - and yes there are changes in gcc too...


e.g. the support libs are now compiled with -O2 by default.



export CFLAGS_FOR_TARGET= -Os -fomit-frame-pointer...
Forum: Coders. Language 10 October 2019, 12:10
Replies: 11
Views: 4,113
Posted By bebbo
how should I know? ask there:...

how should I know?


ask there: https://github.com/redbrain/gccrs
Forum: Coders. Language 07 October 2019, 11:34
Replies: 11
Views: 4,113
Posted By bebbo
It's a different approach - another Jodeldiplom...

It's a different approach - another Jodeldiplom :crazy (https://en.wikipedia.org/wiki/Jodeldiplom)


In gcc the m68k architecture is available - it once was a main architecture...
In llvm there...
Forum: Coders. C/C++ 04 October 2019, 22:20
Replies: 9
Views: 1,021
Posted By bebbo
Yes that's true. Plus there is a bounty on...

Yes that's true. Plus there is a bounty on implementing it: https://www.bountysource.com/issues/80706251-m68k-convert-the-backend-to-mode_cc-so-it-can-be-kept-in-future-releases



On the other...
Forum: Coders. C/C++ 03 October 2019, 20:28
Replies: 9
Views: 1,021
Posted By bebbo
you know that there are pre-configured toolchains...

you know that there are pre-configured toolchains which do build binutils, gcc and even something more?


And if you'd only grab the recipes, it might be useful
Forum: Coders. C/C++ 03 October 2019, 15:24
Replies: 9
Views: 1,021
Posted By bebbo
the gcc is provided by binutils, gcc by gcc. ...

the gcc is provided by binutils, gcc by gcc.
both are available in various versions.
you can't combine every version of binutils with every version of gcc, but you have to use a working...
Forum: Coders. C/C++ 03 October 2019, 12:30
Replies: 9
Views: 1,021
Posted By bebbo
You are using a relative path. Never ever do that...

You are using a relative path. Never ever do that again when calling configure!

Plus your assembler does not match.
Forum: Coders. C/C++ 29 September 2019, 18:39
Replies: 1,219
Views: 142,178
Posted By bebbo
I made a change and initialized some pointers...

I made a change and initialized some pointers :spin
Should be live in ~ 1 hour from now
Showing results 1 to 40 of 447

 
Forum Jump

All times are GMT +2. The time now is 11:43.


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