Nov 102010
 

Artaburu released a new version of his utility library for the Z88dk C compiler. E.g. Mariano the dragon or the recently released Nanako Descend To Hell was written with 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.

Here are the changes for the new version (at least what I can understand, because it is posting in a spanish forum  ):

Sep 232009
 

Ok, a bit late, but anyway…. Artaburu released a new version of his utility library for the Z88dk C compiler. E.g. Mariano the dragon or the recently released Nanako Descend To Hell 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.

Here are the changes for the new version (at least what I can understand, because it is posting in a spanish forum :-)):

  • TileMapConf.asm: Two new constants: T_WH and T_HH. These indicate the range of tiles right / left and top / bottom.
  • cpc_ShowTileMap2: Displays the visiable area of the tile map. Ideal for updating the screen after a scroll.
  • cpc_PutSpTileMapO: Routine to make the tiles which occupies a sprite on screen can be erased when the sprite out of it.
  • cpc_ScrollLeft0, cpc_ScrollRight0: Routines modified to make the scroll of the tile map: act against superbuffer and against tile map.
  • cpc_ScrollLeft, cpc_ScrollRight: For now deactivated.
Mar 302009
 

Artaburu released a new version of his utility library for the Z88dk C-compiler. E.g. Mariano the dragon or the recently released Nanako Descend To Hell 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.

Here are the changes since my last news posting:

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 8×8 pixel writing routine, memory address
  • cpc_PrintGphStrStdXY: New mode 1 8×8 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 fastest 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)

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.
Mar 022009
 

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.

Here are the changes of the new version:

  • 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.
  • cpc_ScrollLeft0, cpc_ScrollLeft, cpc_ScrollRight0, cpc_ScrollRight: New routines for software scroll using tile map. (See example included in file)
Jan 162009
 

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.

Here are the changes of the new version:

  • 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.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close