| CPC Rulez https://cpcrulez.fr/forum/ |
|
| CPCRslib v2 https://cpcrulez.fr/forum/viewtopic.php?f=4&t=258 |
Page 1 sur 2 |
| Auteur : | hERMOL [ 25 Mai 2008, 07:21 ] |
| Sujet du message : | CPCRslib v2 |
Citer : Artaburu released a new version of his utility library for the Z88dk C-compiler. Mariano the dragon was written with using this library and so it contains a lot of graphics functions, key functions, map functions, etc. You can download it from the official homepage of the CPCRslib. url: http://www.amstrad.es/programacion/cpcrslib_eng.htm http://www.z88dk.org/forum/ |
|
| Auteur : | hERMOL [ 21 Mars 2009, 10:54 ] |
| Sujet du message : | Re: CPCRslib v2 |
AVEC QUOI PUIS JE FAIRE UN JEU ??? Une library de fonction gfx pour le crossdev sous z88dk. CPCRslib est orienté creation de jeux , un tas d'ajouts depuis ce vieux post .. Citer : 03/20/2009 cpc_TouchTiles: New routine to set a tile rectangle as touched in order to be shown in the next cpc_ShowTouchedTiles call. 02/23/2009 cpc_GetTiles, cpc_PutTiles: New routines to capture into a buffer a tile map area and to copy from buffer to tile map. 02/22/2009 cpc_UpdScr: Routine has been modified in order to get faster code. cpc_PutCpTileMapo2b: New routine to draw compiled sprites into the map tile. 02/20/2009 Multiplication routine almost always can be substituted by a specific faster one. Routines were generic multiplication is used can be fast changed modifying code in multiplication1.asm and multiplication2.asm before compiling the library. Using optimized multiplication routines gets better performance in the program so it’s recommended to use them. 02/19/2009 cpc_PutSpTileMap: Code optimized, smaller and faster. Now tiles touched by a sprite are found faster. 02/16/2009 cpc_PutTrSpriteTileMap2b: New routine similar to cpc_PutTrSpTileMap2b but without the internal buffer address calculation, it requires use of cpc_SpUpdX and cpc_SpUpdY to update the sprite position or by the normal way but using cpc_SuperbufferAddress() after x,y update. cpc_UpdateTileMap: Update to include cpc_PutTrSpTileMap2 and cpc_PutTrSpriteTileMap2 routines. 02/11/2009 cpc_ScrollLeft0, cpc_ScrollLeft, cpc_ScrollRight0, cpc_ScrollRight: New routines for software scroll using tile map. (See example included in file) 02/09/2009 cpc_PutTrSpTileMap2b: Draws a sprite using one of the colours as transparent. It requires selecting transparent colour during compilation. (See example included in file) 01/16/2009 cpc_TestKey : Code optimized, smaller and faster. cpc_RedefineKey: Code optimized, smaller and faster. cpc_AnyKeyPressed: Rewritten, smaller and faster.... previous version doesn't work. cpc_SetBorder: Changed caller function, now it's smaller and faster routine. cpc_InitTileMap: Changed caller function, now it's smaller and faster routine. url : http://www.amstrad.es/programacion/cpcrslib.html http://code.google.com/p/cpcrslib/downloads/list |
|
| Auteur : | hERMOL [ 03 Juil 2009, 11:02 ] |
| Sujet du message : | Re: CPCRslib v2 |
Citer : News 06/29/2009 cpc_ShowTileMap: Modified in order to have 255 different tiles instead 254. Game of Life: New example included. 03/30/2009 cpc_ClrScr: Fills screen with ink 0 (similar to CLG) cpc_DisableFirmware: Disables interruption jump from &0038 cpc_EnableFirmware: Restores interruption jump previously removed with cpc_DisableFirmware cpc_PrintGphStrStd: New mode 1 8x8 pixel writing routine, memory address cpc_PrintGphStrStdXY: New mode 1 8x8 pixel writing routine, (x,y) for positioning text cpc_ShowTileMap: Modified. Removed EI/DI instructions to avoid music/sound delays while showing tile Map. cpc_RRI, cpc_RLI: Modified. There was a bug when using IX. cpc_ScanKeyboard: New routine for scanning whole keyboard (from cpcwiki keyboard programming). cpc_TestKeyF: New routine to test if a key has been pressed but it must be used after cpc_ScanKeyboard. This way is faster than previous one if 3 or more keys have to be tested. cpc_WyzPlayer: Modified interruption backup because previously it assumed it was a JP XXXX jump and sometimes is not correct. Example disc included: All the code examples compiled and ready to run in a single disk. 03/23/2009 cpc_RRI: Moves a screen rectangle one byte to the left (<-), most left byte goes to the right side (no byte info lost). cpc_RLI: Moves a screen rectangle one byte to the right (->), most left byte goes to the left side (no byte info lost). music_sound sample modifed and translated into English. url : http://code.google.com/p/cpcrslib/ |
|
| Auteur : | hERMOL [ 08 Sep 2009, 10:49 ] |
| Sujet du message : | Re: CPCRslib v2 |
Citer : 09/08/2009 Tile Map Areal. A virtual and a visible area are defined. Horizontal and Vertical invisible margins can be defined. With that trick it's possible to make the sprite clipping when disappearing from the screen. It's very usefull when scrolling too. TileMapConf.asm: Two new constants defined: T_WH y T_HH. With them, the invisble margins are defined. cpc_ShowTileMap2: Shows visible area instead of full virtual area. Usefull when scrolling. cpc_PutSpTileMapO: New routine to make a sprite disappear from the screen when it leave the visible area. cpc_ScrollLeft0,cpc_ScrollRight0: Tile Map Scrolling routines modified. cpc_ScrollLeft, cpc_ScrollRight: Decrapted. Example 12 modified to demonstrate the new scrolling method. url : http://code.google.com/p/cpcrslib/
|
|
| Auteur : | hERMOL [ 13 Oct 2010, 09:18 ] |
| Sujet du message : | Re: CPCRslib v2 |
Citer : 10/12/2009 : Beta with Horizontal Scroll routines and three scroll examples url : http://code.google.com/p/cpcrslib/downloads/list |
|
| Auteur : | hERMOL [ 09 Nov 2010, 21:45 ] |
| Sujet du message : | Re: CPCRslib v2 |
Citer : 09/11/2010 - NEW: music /SFX player updated with new features and source code included (cpcwyzlib) More information about it: https://sites.google.com/site/wyzplayer/ url/src : http://code.google.com/p/cpcrslib/ |
|
| Auteur : | hERMOL [ 11 Nov 2010, 20:56 ] |
| Sujet du message : | Re: CPCRslib v2 |
Citer : 11/11/2009:
cpc_PrintGphStr0,cpc_PrintGphStr0M1: Optimiced code: Smaller and faster, thanks to Kevin Thacker for coding it on Blue Angel 69. cpc_PrintGphStr2X,cpc_PrintGphStrXY2X,cpc_PrintGphStrM12X,cpc_PrintGphStrXY2X: New routines for printing graphical text at double height. Sample 5 modified. |
|
| Auteur : | hERMOL [ 17 Nov 2010, 11:23 ] |
| Sujet du message : | Re: CPCRslib v2 |
Citer : 11/15/2009
Bug in cpc_WyzPlayer corrected. When saving the player interrupt jump, the code was being corrupted due to a bad definition of the address where the original jump was being saved. |
|
| Auteur : | hERMOL [ 29 Nov 2010, 22:34 ] |
| Sujet du message : | Re: CPCRslib v2 |
Citer : 11/28/2010 : cpcrslib with horizontal scrolling capabilities is uploaded. From now, there will be 2 official libraries: one for scrolling and one for static screen. Although the scrolling one can be used to for static screens, because it has been improved for scrolling, when static using it is a slower than the "standard" one. Horizontal scroll example included.
|
|
| Auteur : | hERMOL [ 22 Mai 2012, 13:31 ] |
| Sujet du message : | Re: CPCRslib v2 |
du neuf sur la page du projet CPCRSLIB Citer : cpcwyzlib: Amstrad CPC music & effects library for SDCC http://code.google.com/p/cpcrslib/downl ... 3AFeatured |
|
| Auteur : | MacDeath26 [ 23 Mai 2012, 09:37 ] |
| Sujet du message : | Re: CPCRslib v2 |
Juste une question, ces librairies C axées CPC gèrent elles les fonctions de l'Amstrad PLUS ? |
|
| Auteur : | Plissken [ 23 Mai 2012, 10:56 ] |
| Sujet du message : | Re: CPCRslib v2 |
MacDeath26 a écrit : Juste une question, ces librairies C axées CPC gèrent elles les fonctions de l'Amstrad PLUS ? Ah mon avis non,c'est axer cpc classic. |
|
| Auteur : | MacDeath26 [ 23 Mai 2012, 11:04 ] |
| Sujet du message : | Re: CPCRslib v2 |
Y'a pas de pack "Amstrad PLUSlib" ? erf...
|
|
| Auteur : | Plissken [ 23 Mai 2012, 11:25 ] |
| Sujet du message : | Re: CPCRslib v2 |
MacDeath26 a écrit : Y'a pas de pack "Amstrad PLUSlib" ? erf... ![]() sinon,tu a maxam et dams si tu veu develloper sur cpc plus ^^. |
|
| Auteur : | hERMOL [ 23 Mai 2012, 15:58 ] |
| Sujet du message : | Re: CPCRslib v2 |
non je vois rien pour le cpc plus... |
|
| Page 1 sur 2 | Le fuseau horaire est UTC+1 heure |
| Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |
|