SHARE
TWEET

ZC 3.xx and 4.xx Binding Logic Diagram

ZoriaRPG Oct 10th, 2018 (edited) 174 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Premise:
  2. Allegro 5 is the main lib.
  3. All Allegro 4 stuff is handled by Allegro Legacy, linked to AG5
  4. CLassic Quests play in a background running process of ZC 3.xx (Legacy Environment)
  5. on top of ZC4 (New Environment).
  6.  
  7. New quests run entirely on new environment.
  8.  
  9. No emulation is needed, nor do new quests need to maintain compatibility with
  10. legacy quests, as the old software runs invisible over the new, with input and video
  11. output being translated.
  12.  
  13. All old quests run in this 'Blue Box' module, running on top of 'Yellow Box', invisibly to the user.
  14.  
  15.  
  16. INPUT     VIDEO bitmap +-----------------> Display
  17. -----     ------------------------
  18. V         ^  Modern Audio Output +-------> System Audio Devices
  19. V         ^ +---------+-----------      
  20. V         ^ |         ^
  21. V         ^ ^
  22. V         ^ ^
  23. +---------+-+<<<<<<<<<+-------------------------------
  24. |           |         | Legacy Audio and RAM Bitmaps |
  25. |  Allegro  |         ------+-------------------------
  26. |     5     |               ^
  27. |  Library  |       --------+---------      -------------
  28. |           +<<<----+ Allegro Legacy +->**<-+ ALLEGRO 4 | * Linked via AL
  29. |           |       ---------+---+----      -------------
  30. -------------                |   ^
  31.       ^                      |   ^
  32.       |                      |   ^
  33.       |                      |   |-----------------
  34.       ^   Blue/Yellow Layer  |---+   RAM Bitmaps  |
  35.       |   --------->>>>>>+   |   | Old Quest Data |
  36.       |   | Read Into*   V   |   ------------------
  37. ------+---+----      ----+---+---------
  38. |  ZC Rerwite |      |  Zelda Classic |
  39. |   Engine    |      |    ZQuest      |
  40. |  Yellow Box |      |    Blue Box    |
  41. ------+----+---      ----+---+---------
  42.       ^    ^  Read Into* V   ^
  43.       ^    ^<<<<<<<<-----+   ^
  44. -------------                ^    
  45. |  New Type |                ^   
  46. -------------                ^
  47.       ^                      ^
  48. ------+--------        ------+-----------
  49. |  Quest Type |=====>>>+ OLD QUEST TYPE |
  50. ---------------        ------------------    
  51.              
  52. *Old quest read into ZC4, loads classic ZC3 engine in the baqckground.
  53. This background layer pipes new input in
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top