The following warnings occurred:
Warning [2] Undefined array key 0 - Line: 1677 - File: showthread.php PHP 8.2.31 (Linux)
File Line Function
/inc/class_error.php 157 errorHandler->error
/showthread.php 1677 errorHandler->error_callback
/showthread.php 916 buildtree




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Fonts with ASM defb
#2
Duefectu Wrote:Hola:

Quiero utilizar un set de caracteres personalizados que tengo en formato defb, pero no encuentro como hacerlo funcionar:

Code:
REM Fuente personalizada POKE UINTEGER 23606,@Fuente-256 SUB Fuente() ASM defb 0,128,128,64,23,......... defb ... END ASM END SUB

Que estoy haciendo mal?

Gracias por vuestra ayuda!
Esta bien. Es un buen truco usar lo que has hecho, pero tienes que declarar la SUB como FASTCALL. Así:
Code:
SUB FASTCALL Fuente() ASM defb 0,128,128,64,23,......... defb ... END ASM END SUB
Esto debería funcionar. Prueba y me dices! :roll:
Así mismo, si usas PRINT, prueba los efectos de PRINT BOLD 1; y PRINT ITALIC 1; por si te sirven para algo.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)