April 27, 2024, 05:42:02 PM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


ccProject Revitalised!

Started by Ficko, May 06, 2007, 01:02:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ficko

May 06, 2007, 01:02:13 PM Last Edit: July 28, 2007, 11:10:02 AM by Ficko
Hi guys!

I like to revitalize the GAME of the ccPack! ;D

I see that it isn’t going very well may due to the lack of challenge or lack of info how it is actually works.

How it is exactly be done may should be explained by â€Ã...“Copexâ€Ã,.

What I thought up to put some more challenge and randomity into the game to get some new commands written partially or entirely in assembler! ;)

So we can reduce the size of code and speed up Ebasic and not slow down with new commands!

It would be a game of art and coo production.

What I mean that a new (alpha) command should be tested and optimized by others of performance or/and size so we can get a piece of art out in a form of a fine tuned new command!

I like to start this Game with a â€Ã...“classicâ€Ã, ccRevInstr command.
;D

Zip attached.

This is NOT the full cc just the new commands!



Copex

May 07, 2007, 03:10:38 AM #1 Last Edit: July 02, 2007, 11:58:36 AM by Copex
I have updated the full archive attached to the original post http://www.ionicwind.com/forums/index.php/topic,1175.0.html , the chm file is created useing HTML Help workshop V4.xx (see http://tinyurl.com/q3s47)

Copex.

02-07-07 - updated full archive to include ccproject0019 .
-
I really should learn how to use a spell checker! though im not sure how it will help someone who can not spell?
-
Except where otherwise noted, content Posted By Copex is
licensed under a Creative Commons Attribution 3.0 License

http://creativecommons.org/licenses/by/3.0/

Ficko

May 07, 2007, 07:48:45 AM #2 Last Edit: May 07, 2007, 11:47:42 AM by Ficko
Thanks Copex for the quick respond! :D

I will check out the HELP workshop in turn.

I added a new command and extended the functionality of the ccRevInstr() as well.

I had updated the link above!

The new command -ccZeroSubVars()- original idea is not from me I found it somewhere on the forum but it is a "muss" so I had to optimize and put it here. ;)


Copex


i have updated the main archive as above, keep up the good work :-)
-
I really should learn how to use a spell checker! though im not sure how it will help someone who can not spell?
-
Except where otherwise noted, content Posted By Copex is
licensed under a Creative Commons Attribution 3.0 License

http://creativecommons.org/licenses/by/3.0/

Ficko

Hello!

I will change the way I used to post changes on this forum.

I will announce only new commands in the future!
I gave the "ccProject.zip" a running number. "ccProject0001.zip"

The number will increase if changes be made.
The zip has a "changes.log" inside, which will document the changes made.

There is a MAJOR bug fix right now to ccFandR()!

Csaba :D

Haim

Great work!
Thanks for sharing.
Haim

Egil

June 04, 2007, 12:55:48 AM #6 Last Edit: June 04, 2007, 06:34:55 AM by Egil
This is a splendid idea -  Thanks for sharing!

Downloaded the HTML Help  Workshop 4.xx and made a new project help file.
Support Amateur Radio  -  Have a ham  for dinner!

Ficko

Thanks Egil!

That's great! ;D
I included the "Help.chm" in the Zip above! :D

Egil

Found an obvious printing error in the file:  ccEBPath.html .
In addition the text search didn't turn out correctly.

Corrected these items and uploaded the corrected file. Sorry I didn't see this before uploading the first time.
Support Amateur Radio  -  Have a ham  for dinner!

Ficko

June 04, 2007, 11:13:46 AM #9 Last Edit: June 05, 2007, 06:39:34 AM by Ficko
Thanks Egil

but don’t worry about small mistakes. :D
I intended this topic to being a developer site not to publish a final product.
I am frequently improving the pack adding staff , fixing bugs etc. too.

But I think it is better to make a new idea  public when it is working to some degree than sitting on it for years may never get to others. ;)

I do have some new commands again. ;D

ccMulInt32()
ccMulInt64()


Little FPU usage sample may start of a tailor made FPU.lib ;)

added
ccDivInt64()

It is 48% speed improvement to "A64/B64" ;D

Ficko

One more new command and I am going to take a break now! ;D

ccOPENCONSOLE()

With extended attributes! :D

Copex


i have removed the ccFindAndReplace, and updated the full archive @ http://www.ionicwind.com/forums/index.php/topic,1175.0.html
-
I really should learn how to use a spell checker! though im not sure how it will help someone who can not spell?
-
Except where otherwise noted, content Posted By Copex is
licensed under a Creative Commons Attribution 3.0 License

http://creativecommons.org/licenses/by/3.0/

Ficko

Four new commands and #s of improvements ;D

ccSHL()
ccSHR()
ccROL()
ccROR()


Focusing on 64bit logics. :D

Ficko

Added
ccRCR() ;D
ccRCL() to complete the set


Redesigned the whole principle behind this emulations so it can be used more easily.

Ficko

Some new commands:

ccInsertItem()
with integrated
LVSort CallBack function.

To easily sort big -or small- Listview columns.

Lots of improvements on old functions.
Like caseinsensitive ccFandR() ccInstr() etc. :D


Ficko

Another one

ccSort()

a fast and universal sorting command for
char,
word,
uint,
int64 and String -variable size- arrays :D

LarryMc

Just to say thanks for all your efforts.
They are appreciated.

Larry
LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

Ficko

Thank You Larry! :D

I just extended the
ccSort() command

to sort all the EB variable type arrays.

added: SChar
          SWord
          Int
          Uint64  :D

Brian

Hi,

Just wondered what the link was to the latest and greatest version

Thanks for your efforts,

Brian

LarryMc

LarryMc
Larry McCaughn :)
Author of IWB+, Custom Button Designer library, Custom Chart Designer library, Snippet Manager, IWGrid control library, LM_Image control library

pistol350

Hi all!
I'd like to add my first functions to the Community Command pack Project
these are very simple functions that can also be very useful.

i called this minmax.inc  :D

declare Min(imin:int,jmin:int),int
declare Max(imax:int,jmax:int),int

/* min function definition */
Sub Min(imin:int,jmin:int),int
if (imin<jmin) then
return imin
else
return jmin
endif
return 1
endsub



/* max function definition */
Sub Max(int imax, int jmax),int
    if (imax<jmax) then
return jmax
    else
return imax
endif
return 1
endsub


here is a simple example code

$include "minmax.inc"
int i,j

OPENCONSOLE
i = Min(5,8)
j = Max(5,8)
PRINT "min : ",i
PRINT " "
PRINT "max : ",j
PRINT " "
PRINT "press any key to close"
DO: UNTIL inkey$<>""
CLOSECONSOLE
END


I hope it can be helpful to anyone here
regards.
Peter
Regards,

Peter B.

Ficko

Cool Peter ! :D

But I am not running the ccProject you have to turn to â€ËÅ"copex’ with that.

This topic is about assembler or EB-assembler mix code dedicated to speed up EB with new or newly designed commands.

If you have something like that you are welcome! :D

Thanks,
Csaba