English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 40 of 145
Search took 0.02 seconds.
Search: Posts Made By: Honitos
Forum: Coders. Asm / Hardware 19 April 2024, 10:23
Replies: 5
Views: 347
Posted By Honitos
Smile Thanks jotd, I - respectively the original...

Thanks jotd,

I - respectively the original coder - was aware of this and refrained from checking A1 in that routine for speed reasons, I guess.
Forum: Coders. Asm / Hardware 19 April 2024, 09:22
Replies: 5
Views: 347
Posted By Honitos
Do these 2 asm-routines do exactly the same thing?

Hi guys,

when investigating the old blitzbasic2 compiler source, I found these two routines.
I guess they do absolutly the same, except the second one being a bit more "smart". Both routines are...
Forum: Coders. System 16 March 2024, 14:11
Replies: 7
Views: 482
Posted By Honitos
@meynaf: That is my workaround since yesterday! ...

@meynaf: That is my workaround since yesterday!

@Olaf Barthel: Yes, for these reasons I want to use pools. While digging in the source code of a lib that handles linked lists in AmiBlitz, I found...
Forum: Coders. System 15 March 2024, 16:43
Replies: 7
Views: 482
Posted By Honitos
Unfortunately not: FreePooled() needs address an...

Unfortunately not: FreePooled() needs address an size of *each* memory block that belongs to the pool, and I dont store these data.

If I have to manage a memory list to keep track of all the...
Forum: Coders. System 15 March 2024, 15:52
Replies: 7
Views: 482
Posted By Honitos
free - but keep - memory pool

I created a memory pool using CreatePool().


I need to free the pool but keep it, as maybe there will be allocated memory in the pool again.


Using DeletePool() will free the memory but...
Forum: Coders. Scripting 15 March 2024, 15:16
Replies: 6
Views: 552
Posted By Honitos
Thanks for clarification!

Thanks for clarification!
Forum: Coders. Scripting 10 March 2024, 07:04
Replies: 6
Views: 552
Posted By Honitos
Cool Sorry that was an unclear explanation: ...

Sorry that was an unclear explanation:

MYPROGRAM is just a placeholder, not the real portname, the real portname is "PED.1".
And my program itself is not arexx, but AmiBlitz.

To be concrete, I...
Forum: Coders. Scripting 09 March 2024, 17:36
Replies: 6
Views: 552
Posted By Honitos
Question Problem passing Arexx parameters

Hi guys,


I am struggeling with passing parameters to my program.


I want to send a filename with full path to my program this way:


rx MYPROGRAM OPEN "Ram Disk:file"
Forum: Coders. Blitz Basic 03 March 2024, 17:05
Replies: 12
Views: 932
Posted By Honitos
What a dumb hint from me with SnoopDOS. ...

What a dumb hint from me with SnoopDOS.
Obviously there is nothing to load with the samples linked to the binary :-)

But there should be no crash with activated debugger. Is it turned on?
Forum: Coders. Blitz Basic 03 March 2024, 15:03
Replies: 12
Views: 932
Posted By Honitos
Are you using BlitzBasic? I fixed the wrong...

Are you using BlitzBasic?
I fixed the wrong text colours of the error requester with AmiBlitz3.

I may be a path problem. You could check this with SnoopDOS.
Forum: Coders. Blitz Basic 25 February 2024, 16:16
Replies: 67
Views: 7,601
Posted By Honitos
The OS's mathtrans.library is used mainly by...

The OS's mathtrans.library is used mainly by BlitzBasic's mathtranslib that contains functions like Sin(), Cos(), Sqr(), Exp(), Log() and so on.

Some other blitzlibs make use of it too, as e.g....
Forum: Coders. Blitz Basic 24 February 2024, 22:50
Replies: 67
Views: 7,601
Posted By Honitos
I did that for AmiBlitz. It does not open the...

I did that for AmiBlitz.
It does not open the diskfont.library anymore regardless of the requested font but only, if the font is different than Topaz.

The "fontlib" can be used with Blitz2 as...
Forum: Coders. Blitz Basic 31 January 2024, 18:32
Replies: 8
Views: 626
Posted By Honitos
Thanks Daedalus, Normally this is my very first...

Thanks Daedalus,
Normally this is my very first advise :-)
I do not remember well, but I thought the debugger is enabled by default in BB2 aswell?
Forum: Coders. Blitz Basic 31 January 2024, 09:43
Replies: 8
Views: 626
Posted By Honitos
You can increase the number of window objects....

You can increase the number of window objects. Open the compiler menu "compiler options".
In the area "object maximums" increase the maximum number of windows.
Forum: Coders. Blitz Basic 23 January 2024, 19:23
Replies: 4
Views: 674
Posted By Honitos
There are goood chances the fragmentation will be...

There are goood chances the fragmentation will be not that as severe if you convert one shape after another to a sprite.

The memory needed for GetaSprite could could be allocated at the same...
Forum: Coders. Blitz Basic 22 January 2024, 15:10
Replies: 4
Views: 674
Posted By Honitos
You could use "GetaSprite Sprite#, Shape#" to...

You could use "GetaSprite Sprite#, Shape#" to create a sprite out of the shape.
After creating the shape you can free the shapes memory by using "Free Shape Shape#".

But you are right: while...
Forum: Coders. Blitz Basic 26 December 2023, 20:56
Replies: 5
Views: 604
Posted By Honitos
Yes, but only with AmiBlitz. The editor of...

Yes, but only with AmiBlitz. The editor of BlitzBasic does not Support that.

With AmiBlitz you can separate lines by using the @@ operator like this:

Wline 10,10, @@
20,20
Forum: Coders. Blitz Basic 26 December 2023, 11:30
Replies: 5
Views: 604
Posted By Honitos
To draw in a window, use the command Wline ...

To draw in a window, use the command Wline instead of Line!
Forum: Coders. Blitz Basic 19 December 2023, 22:53
Replies: 10
Views: 2,074
Posted By Honitos
To set the busy pointer sprite, same as...

To set the busy pointer sprite, same as NBusyPointer does, you could use the Intuition function SetWindowPointerA_ (...
Forum: Coders. System 10 December 2023, 13:25
Replies: 0
Views: 1,214
Posted By Honitos
Question Build Requesters for alphanumeric input with OS-builtin routines?

In amigaOS we have EasyRequest() and we habe asl.library for some special requesters.


What is the "official" way to build a requester for simple text or number input?


Back in the day I...
Forum: Coders. Blitz Basic 23 November 2023, 13:32
Replies: 10
Views: 2,074
Posted By Honitos
Unfortunetely you cannot change the mousepointer...

Unfortunetely you cannot change the mousepointer of the screen, you only can change the pointer that is related to a window. Do you have a e.g. backdropped window?

BTW, BusyPointer requires...
Forum: Coders. Blitz Basic 17 October 2023, 11:59
Replies: 7
Views: 873
Posted By Honitos
You *could* clear the complete array by clearing...

You *could* clear the complete array by clearing the corresponding memory area this way:

memaddress.l = &myArray()
memlength.l = <array size> * SizeOf.<newtypename>

FillMem...
Forum: Coders. Blitz Basic 17 October 2023, 11:55
Replies: 7
Views: 873
Posted By Honitos
Instead of using an array, I'd suggest to use a...

Instead of using an array, I'd suggest to use a dynamic list in combination with a newtype.

So you can use ClearType and ClearList to clear a single entry or the complete list.
Forum: Coders. Blitz Basic 17 October 2023, 11:00
Replies: 7
Views: 873
Posted By Honitos
The command ClearType is not a solution?

The command ClearType is not a solution?
Forum: Coders. Blitz Basic 06 September 2023, 10:27
Replies: 185
Views: 65,976
Posted By Honitos
Sorry, I missed this topic. The Problem may...

Sorry, I missed this topic.

The Problem may be, that AmiBlitz3 uses a faster tokenization-routine - yes, the compiler stills needs tokenized sources.

As the commands are reordered in the...
Forum: Coders. Blitz Basic 06 September 2023, 10:21
Replies: 67
Views: 7,601
Posted By Honitos
To complete this thread I want to admit that I...

To complete this thread I want to admit that I patched the fontlib:
If the requested font is in ROM - that is "topaz.font" - it uses OpenFont(). Only if requested font is not in ROM, the lib uses...
Forum: Coders. AMOS 19 March 2023, 13:24
Replies: 2
Views: 1,552
Posted By Honitos
I guess you just have to reset the X-Position of...

I guess you just have to reset the X-Position of the Sprite.
It does not work because the variable X is increased endless.
Forum: News 24 February 2023, 13:22
Replies: 1,647
Views: 450,358
Posted By Honitos
Thank you for this deep dive into some code areas...

Thank you for this deep dive into some code areas of the OS, Olaf.
It was exciting to read!
Forum: support.AmigaOS 08 February 2023, 13:53
Replies: 3
Views: 791
Posted By Honitos
I guess my question was not formulated very well....

I guess my question was not formulated very well.

As the maintainer of AmiBlitz3 I am interested to deliver a complete package that works out-of-the-box.
Are there any reasons not to enclose the...
Forum: support.AmigaOS 02 February 2023, 13:59
Replies: 3
Views: 791
Posted By Honitos
Question SDK's autodocs: enclose to AmiBlitz3

As the full SDK for amigaos 3.2.x is freely available on hyperions' website, and there is no restriction mentioned in the readme file, may I attach *only* the autodocs to the AmiBlitz3-docs section?...
Forum: Coders. Blitz Basic 12 January 2023, 13:45
Replies: 6
Views: 876
Posted By Honitos
Asking for source, there is of course the include...

Asking for source, there is of course the include "DOS.include.ab3" that contains proper functions in AmiBlitz3.
Forum: Coders. Blitz Basic 12 January 2023, 13:11
Replies: 6
Views: 876
Posted By Honitos
The Mid$()-function is your friend. You can...

The Mid$()-function is your friend.
You can parse the string for yourself from right to left and Split the string.
Forum: Coders. Blitz Basic 10 January 2023, 09:00
Replies: 3
Views: 849
Posted By Honitos
Ok for that! I dissassembled the iffiolib and...

Ok for that!
I dissassembled the iffiolib and the ilbmifflib as well. Both libs are used by the animlib.
Forum: Coders. Blitz Basic 06 January 2023, 18:02
Replies: 3
Views: 849
Posted By Honitos
Hi earok, maybe it is for some help, I just...

Hi earok,

maybe it is for some help, I just disassembled the animlib and converted it to ab3-asm.
You can find the source here:
...
Forum: request.Music 28 November 2022, 19:49
Replies: 36
Views: 21,737
Posted By Honitos
Maybe a little Patch would be enough that patches...

Maybe a little Patch would be enough that patches the opcodes of the movem-instructions to save and restore address register a1 as well.
Forum: Coders. Blitz Basic 03 November 2022, 08:58
Replies: 9
Views: 1,877
Posted By Honitos
Thanks! That worked.

Thanks!
That worked.
Forum: Coders. Blitz Basic 02 November 2022, 22:33
Replies: 9
Views: 1,877
Posted By Honitos
You dont have to add the datatype...

You dont have to add the datatype .ScreenNotifyMessage everytime just the first time to init it.

I do not get any message, how do you produce it?
Just trying to close the Workbench?
Forum: Coders. Blitz Basic 02 November 2022, 22:30
Replies: 67
Views: 7,601
Posted By Honitos
I am shocked. This is really bad.

I am shocked. This is really bad.
Forum: Coders. Blitz Basic 02 November 2022, 09:08
Replies: 67
Views: 7,601
Posted By Honitos
I checked the fontlib, it always tries to open...

I checked the fontlib, it always tries to open topaz.font using the diskfonts library function OpenDiskFont(). I could patch this, but problem is, the startup code opens all libraries, that *may* be...
Forum: Coders. Blitz Basic 01 November 2022, 22:30
Replies: 67
Views: 7,601
Posted By Honitos
The documentation for this lib is part of the...

The documentation for this lib is part of the AB3-distribution as a guide file that can be accessed from the IDE by Pressung Shift-help on an instruction or by using the Instruction Browser.
Showing results 1 to 40 of 145

 
Forum Jump

All times are GMT +2. The time now is 15:45.

Top

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